#D966FA

Closest named color: Bright Lilac (#C95EFB). oklch(70.6% 0.229 318.1), rgb(217, 102, 250).

Aa

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

About this color

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

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

Values

HEX#D966FA
RGBrgb(217, 102, 250)
HSLhsl(287, 94%, 69%)
OKLCHoklch(70.6% 0.229 318.1)

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 #D966FA 2.90:1 Fails Lc -60.0 Content text, not long reading
Black text on #D966FA 7.23:1 AAA Lc 49.3 Large or bold text, headings
#D966FA text on white 2.90:1 Fails Lc 54.7 Large or bold text, headings
#D966FA text on black 7.23: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

    #F6E2FC

    oklch(93.7% 0.041 318.4)

  3. Step 200

    200

    #F0C9FC

    oklch(88.5% 0.08 318.2)

  4. Step 300

    300

    #E7A2FC

    oklch(80.9% 0.143 318.1)

  5. Step 400

    400 (this color)

    #D966FA

    oklch(70.6% 0.229 318.1)

  6. Step 500

    500

    #CD1FF7

    oklch(63.1% 0.292 318)

  7. Step 600

    600

    #B000D5

    oklch(55.7% 0.27 318.2)

  8. Step 700

    700

    #9400B4

    oklch(49% 0.238 318.1)

  9. Step 800

    800

    #7A0095

    oklch(42.6% 0.207 318)

  10. Step 900

    900

    #67007E

    oklch(37.8% 0.183 318.1)

  11. Step 950

    950

    #3D064B

    oklch(27% 0.121 318)

Export this scale for Tailwind in the Tailwind colors tool

#D966FA 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)#3F90FF0.217
Deuteranopia (no green cones)#6C9BF60.189
Tritanopia (no blue cones)#D87EA70.145
Achromatopsia (no color)#9797970.231

Harmonies

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

Complementary

The opposite hue (180°).

  • #D966FA

    #D966FA

    oklch(70.6% 0.229 318.1)

  • #4DBD00

    #4DBD00

    oklch(70.5% 0.218 138.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D966FA

    #D966FA

    oklch(70.6% 0.229 318.1)

  • #9D8DFF

    #9D8DFF

    oklch(70.7% 0.163 287.9)

  • #FF53B9

    #FF53B9

    oklch(70.7% 0.228 348)

Open the analogous palette in the generator

Split complementary

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

  • #D966FA

    #D966FA

    oklch(70.6% 0.229 318.1)

  • #AAA600

    #AAA600

    oklch(70.5% 0.152 108)

  • #00BC8F

    #00BC8F

    oklch(70.6% 0.143 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D966FA

    #D966FA

    oklch(70.6% 0.229 318.1)

  • #D29300

    #D29300

    oklch(70.7% 0.147 78.1)

  • #00B7BB

    #00B7BB

    oklch(70.7% 0.12 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D966FA

    #D966FA

    oklch(70.6% 0.229 318.1)

  • #FB7200

    #FB7200

    oklch(70.6% 0.192 48.2)

  • #4DBD00

    #4DBD00

    oklch(70.5% 0.218 138.1)

  • #00B0E3

    #00B0E3

    oklch(70.7% 0.137 227.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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