#D166E9

Closest named color: Bright Lilac (#C95EFB). oklch(68.7% 0.209 320), rgb(209, 102, 233).

Aa

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

About this color

#D166E9 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.209 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bright Lilac (#C95EFB), ΔE 0.037 away. Black text reads best on it, at 6.78:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.209)
Temperaturein between
Nearest nameBright Lilac (#C95EFB)
Black text6.78:1
White text3.09:1

Values

HEX#D166E9
RGBrgb(209, 102, 233)
HSLhsl(289, 75%, 66%)
OKLCHoklch(68.7% 0.209 320)

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 #D166E9 3.09:1 AA large text Lc -62.7 Content text, not long reading
Black text on #D166E9 6.78:1 AA Lc 46.7 Large or bold text, headings
#D166E9 text on white 3.09:1 AA large text Lc 57.3 Large or bold text, headings
#D166E9 text on black 6.78:1 AA Lc -44.4 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 400.

  1. Step 50

    50

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F6E2FA

    oklch(93.6% 0.038 320.6)

  3. Step 200

    200

    #EFCAF7

    oklch(88.4% 0.072 320.3)

  4. Step 300

    300

    #E6A4F5

    oklch(80.9% 0.131 320)

  5. Step 400

    400 (this color)

    #D166E9

    oklch(68.7% 0.209 320)

  6. Step 500

    500

    #CB34EA

    oklch(63.1% 0.267 320)

  7. Step 600

    600

    #B200D0

    oklch(55.6% 0.267 320.1)

  8. Step 700

    700

    #9600B0

    oklch(49% 0.235 320)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900

    #670879

    oklch(37.8% 0.174 319.9)

  11. Step 950

    950

    #3C0B47

    oklch(26.9% 0.111 319.4)

Export this scale for Tailwind in the Tailwind colors tool

#D166E9 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)#4B8BED0.198
Deuteranopia (no green cones)#7096E60.174
Tritanopia (no blue cones)#D27A9E0.131
Achromatopsia (no color)#9292920.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #D166E9

    #D166E9

    oklch(68.7% 0.209 320)

  • #42B71E

    #42B71E

    oklch(68.6% 0.209 140)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D166E9

    #D166E9

    oklch(68.7% 0.209 320)

  • #9B83FF

    #9B83FF

    oklch(68.8% 0.177 289.8)

  • #F356AC

    #F356AC

    oklch(68.7% 0.209 350.1)

Open the analogous palette in the generator

Split complementary

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

  • #D166E9

    #D166E9

    oklch(68.7% 0.209 320)

  • #A1A100

    #A1A100

    oklch(68.6% 0.15 109.8)

  • #00B58D

    #00B58D

    oklch(68.7% 0.137 169.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D166E9

    #D166E9

    oklch(68.7% 0.209 320)

  • #C88F00

    #C88F00

    oklch(68.8% 0.142 80.2)

  • #00B0B7

    #00B0B7

    oklch(68.8% 0.117 199.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D166E9

    #D166E9

    oklch(68.7% 0.209 320)

  • #EF7100

    #EF7100

    oklch(68.7% 0.181 50.2)

  • #42B71E

    #42B71E

    oklch(68.6% 0.209 140)

  • #00A9DE

    #00A9DE

    oklch(68.8% 0.137 229.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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