#A66FE4

Closest named color: Medium Purple (#9370DB). oklch(64.9% 0.174 303.6), rgb(166, 111, 228).

Aa

Black text reads best on this color (6.01:1).

About this color

#A66FE4 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.174 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.034 away. Black text reads best on it, at 6.01:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.174)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.01:1
White text3.49:1

Values

HEX#A66FE4
RGBrgb(166, 111, 228)
HSLhsl(268, 68%, 66%)
OKLCHoklch(64.9% 0.174 303.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A66FE4 3.49:1 AA large text Lc -67.7 Content text, not long reading
Black text on #A66FE4 6.01:1 AA Lc 41.9 Non-text elements, placeholder text
#A66FE4 text on white 3.49:1 AA large text Lc 62.2 Content text, not long reading
#A66FE4 text on black 6.01:1 AA Lc -39.5 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DFD2F3

    oklch(88.4% 0.047 303.3)

  4. Step 300

    300

    #CCB3EE

    oklch(80.8% 0.086 303.9)

  5. Step 400

    400

    #B38AE6

    oklch(70.8% 0.137 303.6)

  6. Step 500

    500 (this color)

    #A66FE4

    oklch(64.9% 0.174 303.6)

  7. Step 600

    600

    #8C4DCB

    oklch(55.5% 0.189 303.9)

  8. Step 700

    700

    #773DB0

    oklch(49.1% 0.177 303.7)

  9. Step 800

    800

    #61348E

    oklch(42.8% 0.145 303.9)

  10. Step 900

    900

    #4F2E72

    oklch(37.7% 0.115 303.8)

  11. Step 950

    950

    #2E1C43

    oklch(27% 0.072 303.2)

Export this scale for Tailwind in the Tailwind colors tool

#A66FE4 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#4988E80.129
Deuteranopia (no green cones)#5989E10.118
Tritanopia (no blue cones)#9B849F0.130
Achromatopsia (no color)#8989890.175

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #A66FE4

    #A66FE4

    oklch(64.9% 0.174 303.6)

  • #7C9E00

    #7C9E00

    oklch(65% 0.161 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A66FE4

    #A66FE4

    oklch(64.9% 0.174 303.6)

  • #6F82F7

    #6F82F7

    oklch(64.9% 0.174 273.6)

  • #CB60BB

    #CB60BB

    oklch(64.9% 0.174 333.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #A66FE4

    #A66FE4

    oklch(64.9% 0.174 303.6)

  • #AA8C00

    #AA8C00

    oklch(64.9% 0.133 93.6)

  • #00AB5D

    #00AB5D

    oklch(65% 0.165 153.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A66FE4

    #A66FE4

    oklch(64.9% 0.174 303.6)

  • #CC7800

    #CC7800

    oklch(65% 0.147 63.7)

  • #00A596

    #00A596

    oklch(64.8% 0.115 183.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A66FE4

    #A66FE4

    oklch(64.9% 0.174 303.6)

  • #E55E41

    #E55E41

    oklch(65% 0.174 33.7)

  • #7C9E00

    #7C9E00

    oklch(65% 0.161 123.6)

  • #00A0B9

    #00A0B9

    oklch(64.9% 0.114 214)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A66FE4, closest first.

No curated palette has a color within ΔE 0.04 of #A66FE4.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #A66FE4 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.