#D866FC

Closest named color: Bright Lilac (#C95EFB). oklch(70.6% 0.23 317.3), rgb(216, 102, 252).

Aa

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

About this color

#D866FC is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.230 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.22:1.

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

Values

HEX#D866FC
RGBrgb(216, 102, 252)
HSLhsl(286, 96%, 69%)
OKLCHoklch(70.6% 0.23 317.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 #D866FC 2.90:1 Fails Lc -60.1 Content text, not long reading
Black text on #D866FC 7.22:1 AAA Lc 49.3 Large or bold text, headings
#D866FC text on white 2.90:1 Fails Lc 54.8 Large or bold text, headings
#D866FC text on black 7.22:1 AAA Lc -47.1 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

    #F6E2FD

    oklch(93.7% 0.042 317.4)

  3. Step 200

    200

    #EFC9FC

    oklch(88.4% 0.08 317.4)

  4. Step 300

    300

    #E6A2FD

    oklch(80.9% 0.143 317.3)

  5. Step 400

    400 (this color)

    #D866FC

    oklch(70.6% 0.23 317.3)

  6. Step 500

    500

    #CC1EFA

    oklch(63.1% 0.294 317.1)

  7. Step 600

    600

    #AF00D7

    oklch(55.7% 0.271 317.4)

  8. Step 700

    700

    #9300B6

    oklch(49% 0.239 317.1)

  9. Step 800

    800

    #7A0097

    oklch(42.8% 0.208 317.3)

  10. Step 900

    900

    #66007F

    oklch(37.7% 0.184 317.2)

  11. Step 950

    950

    #3D064C

    oklch(27.1% 0.122 317.4)

Export this scale for Tailwind in the Tailwind colors tool

#D866FC 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)#3C90FF0.218
Deuteranopia (no green cones)#6A9BF80.190
Tritanopia (no blue cones)#D77FA80.147
Achromatopsia (no color)#9797970.232

Harmonies

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

Complementary

The opposite hue (180°).

  • #D866FC

    #D866FC

    oklch(70.6% 0.23 317.3)

  • #53BD00

    #53BD00

    oklch(70.7% 0.216 137.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D866FC

    #D866FC

    oklch(70.6% 0.23 317.3)

  • #9C8DFF

    #9C8DFF

    oklch(70.6% 0.163 287.5)

  • #FF52BB

    #FF52BB

    oklch(70.6% 0.231 347.3)

Open the analogous palette in the generator

Split complementary

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

  • #D866FC

    #D866FC

    oklch(70.6% 0.23 317.3)

  • #ABA600

    #ABA600

    oklch(70.6% 0.152 107.6)

  • #00BC8E

    #00BC8E

    oklch(70.6% 0.144 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D866FC

    #D866FC

    oklch(70.6% 0.23 317.3)

  • #D39200

    #D39200

    oklch(70.6% 0.148 77.1)

  • #00B7BA

    #00B7BA

    oklch(70.7% 0.12 196.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D866FC

    #D866FC

    oklch(70.6% 0.23 317.3)

  • #FD7000

    #FD7000

    oklch(70.6% 0.195 47.1)

  • #53BD00

    #53BD00

    oklch(70.7% 0.216 137.3)

  • #00B0E2

    #00B0E2

    oklch(70.6% 0.137 227.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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