#A666DF

Closest named color: Medium Purple (#9370DB). oklch(63.2% 0.182 306.3), rgb(166, 102, 223).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.182)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.58:1
White text3.75:1

Values

HEX#A666DF
RGBrgb(166, 102, 223)
HSLhsl(272, 65%, 64%)
OKLCHoklch(63.2% 0.182 306.3)

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 #A666DF 3.75:1 AA large text Lc -70.3 Content text, not long reading
Black text on #A666DF 5.58:1 AA Lc 39.3 Non-text elements, placeholder text
#A666DF text on white 3.75:1 AA large text Lc 64.8 Content text, not long reading
#A666DF text on black 5.58:1 AA Lc -36.9 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

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E1D1F4

    oklch(88.4% 0.05 306)

  4. Step 300

    300

    #CFB2EF

    oklch(80.9% 0.09 306.1)

  5. Step 400

    400

    #B787E6

    oklch(70.6% 0.143 306.4)

  6. Step 500

    500 (this color)

    #A666DF

    oklch(63.2% 0.182 306.3)

  7. Step 600

    600

    #9149CC

    oklch(55.6% 0.197 306.3)

  8. Step 700

    700

    #7C39B1

    oklch(49.2% 0.184 306.4)

  9. Step 800

    800

    #64308F

    oklch(42.6% 0.153 306.1)

  10. Step 900

    900

    #522C72

    oklch(37.7% 0.119 306.6)

  11. Step 950

    950

    #301B43

    oklch(27.1% 0.075 306.3)

Export this scale for Tailwind in the Tailwind colors tool

#A666DF 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)#3D81E30.145
Deuteranopia (no green cones)#5384DC0.130
Tritanopia (no blue cones)#9D7C990.132
Achromatopsia (no color)#8484840.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #A666DF

    #A666DF

    oklch(63.2% 0.182 306.3)

  • #719A00

    #719A00

    oklch(63.2% 0.161 126.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A666DF

    #A666DF

    oklch(63.2% 0.182 306.3)

  • #707AF5

    #707AF5

    oklch(63.3% 0.181 276.4)

  • #CB56B2

    #CB56B2

    oklch(63.3% 0.182 336.6)

Open the analogous palette in the generator

Split complementary

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

  • #A666DF

    #A666DF

    oklch(63.2% 0.182 306.3)

  • #A18900

    #A18900

    oklch(63.3% 0.13 96.7)

  • #00A462

    #00A462

    oklch(63.2% 0.152 156.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A666DF

    #A666DF

    oklch(63.2% 0.182 306.3)

  • #C27600

    #C27600

    oklch(63.4% 0.141 66.4)

  • #009F94

    #009F94

    oklch(63.2% 0.111 186.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A666DF

    #A666DF

    oklch(63.2% 0.182 306.3)

  • #E2562E

    #E2562E

    oklch(63.3% 0.183 36.3)

  • #719A00

    #719A00

    oklch(63.2% 0.161 126.2)

  • #009AB5

    #009AB5

    oklch(63.2% 0.112 216)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #A666DF 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.