graf1x

Lime and MediumPurple

Complementary color combination with 3.06:1 contrast ratio

#AAFF32
#9370DB

Color Values

Lime
HEX #AAFF32
RGB 170, 255, 50
HSL 85, 100%, 60%
MediumPurple
HEX #9370DB
RGB 147, 112, 219
HSL 260, 60%, 65%

Harmony: Complementary

These colors sit opposite each other on the wheel, producing maximum visual contrast. Complementary pairings are vibrant and attention-grabbing, but a 70/30 split keeps them from shouting.

The hue angle between Lime and MediumPurple is 175 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

3.06:1
Lime background with MediumPurple text
AA large text only

UI Preview

Lime surface

Sample text on a lime background demonstrates readability and visual hierarchy.

MediumPurple surface

Sample text on a mediumpurple background demonstrates readability and visual hierarchy.

Design Tokens

CSS Variables

:root {
  --color-a: #AAFF32;
  --color-b: #9370DB;
  --color-a-rgb: 170, 255, 50;
  --color-b-rgb: 147, 112, 219;
}

JSON

{
  "name": "Lime and MediumPurple",
  "colors": [
    {
      "name": "Lime",
      "hex": "#AAFF32",
      "rgb": [
        170,
        255,
        50
      ]
    },
    {
      "name": "MediumPurple",
      "hex": "#9370DB",
      "rgb": [
        147,
        112,
        219
      ]
    }
  ],
  "harmony": "Complementary",
  "contrastRatio": 3.06
}

Explore These Colors

Frequently Asked Questions

Do lime and mediumpurple go together?

Yes. Lime and MediumPurple form a complementary color combination. These colors sit opposite each other on the wheel, producing maximum visual contrast. Complementary pairings are vibrant and attention-grabbing, but a 70/30 split keeps them from shouting. The pairing has a WCAG contrast ratio of 3.06:1, which passes AA for large text but not for body text.

What is the contrast ratio between lime and mediumpurple?

The WCAG 2.1 contrast ratio between Lime (#AAFF32) and MediumPurple (#9370DB) is 3.06:1. This passes AA for large text (18pt+ or 14pt+ bold) but not for normal-sized body text.

How do I use lime and mediumpurple in design?

A safe starting point is the 60/30/10 rule: give one color about 60 percent of the surface area, the other about 30 percent, and reserve the remaining 10 percent for an accent or neutral. Since these are complementary colors, lean toward a 70/25/5 split to keep the contrast from becoming overwhelming. Test the result with our Contrast Checker if text is involved.

What are the hex and RGB values for lime and mediumpurple?

Lime has the hex code #AAFF32 and RGB values rgb(170, 255, 50). MediumPurple has the hex code #9370DB and RGB values rgb(147, 112, 219). You can copy these directly into CSS or use the design tokens provided on this page.