#D866FF

Closest named color: Bright Lilac (#C95EFB). oklch(70.8% 0.233 316.6), rgb(216, 102, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.233)
Temperaturein between
Nearest nameBright Lilac (#C95EFB)
Black text7.26:1
White text2.89:1

Values

HEX#D866FF
RGBrgb(216, 102, 255)
HSLhsl(285, 100%, 70%)
OKLCHoklch(70.8% 0.233 316.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 #D866FF 2.89:1 Fails Lc -59.8 Large or bold text, headings
Black text on #D866FF 7.26:1 AAA Lc 49.5 Large or bold text, headings
#D866FF text on white 2.89:1 Fails Lc 54.5 Large or bold text, headings
#D866FF text on black 7.26:1 AAA Lc -47.3 Large or bold text, headings

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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F5E2FD

    oklch(93.6% 0.041 316)

  3. Step 200

    200

    #EFC9FD

    oklch(88.5% 0.081 316.9)

  4. Step 300

    300

    #E6A2FF

    oklch(80.9% 0.145 316.6)

  5. Step 400

    400 (this color)

    #D866FF

    oklch(70.8% 0.233 316.6)

  6. Step 500

    500

    #CC1AFD

    oklch(63.2% 0.298 316.5)

  7. Step 600

    600

    #AE00D9

    oklch(55.7% 0.272 316.6)

  8. Step 700

    700

    #9300B8

    oklch(49.2% 0.24 316.6)

  9. Step 800

    800

    #790098

    oklch(42.7% 0.209 316.6)

  10. Step 900

    900

    #650080

    oklch(37.6% 0.184 316.3)

  11. Step 950

    950

    #3D054D

    oklch(27% 0.124 316.8)

Export this scale for Tailwind in the Tailwind colors tool

#D866FF 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)#3891FF0.220
Deuteranopia (no green cones)#689BFB0.191
Tritanopia (no blue cones)#D680A90.151
Achromatopsia (no color)#9898980.235

Harmonies

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

Complementary

The opposite hue (180°).

  • #D866FF

    #D866FF

    oklch(70.8% 0.233 316.6)

  • #58BD00

    #58BD00

    oklch(70.9% 0.213 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D866FF

    #D866FF

    oklch(70.8% 0.233 316.6)

  • #9B8FFF

    #9B8FFF

    oklch(70.9% 0.16 286.5)

  • #FF53BD

    #FF53BD

    oklch(70.8% 0.231 346.7)

Open the analogous palette in the generator

Split complementary

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

  • #D866FF

    #D866FF

    oklch(70.8% 0.233 316.6)

  • #ADA600

    #ADA600

    oklch(70.8% 0.152 106.7)

  • #00BD8D

    #00BD8D

    oklch(70.8% 0.146 166.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D866FF

    #D866FF

    oklch(70.8% 0.233 316.6)

  • #D49200

    #D49200

    oklch(70.7% 0.148 76.6)

  • #00B7BA

    #00B7BA

    oklch(70.7% 0.12 196.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D866FF

    #D866FF

    oklch(70.8% 0.233 316.6)

  • #FF6F00

    #FF6F00

    oklch(70.8% 0.197 46.5)

  • #58BD00

    #58BD00

    oklch(70.9% 0.213 136.7)

  • #00B1E2

    #00B1E2

    oklch(70.9% 0.136 226.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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