#D17FEE

Closest named color: Liliac (#C48EFD). oklch(72.5% 0.175 316.7), rgb(209, 127, 238).

Aa

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

About this color

#D17FEE is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.175 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.040 away. Black text reads best on it, at 7.98:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.175)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.98:1
White text2.63:1

Values

HEX#D17FEE
RGBrgb(209, 127, 238)
HSLhsl(284, 77%, 72%)
OKLCHoklch(72.5% 0.175 316.7)

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 #D17FEE 2.63:1 Fails Lc -56.1 Large or bold text, headings
Black text on #D17FEE 7.98:1 AAA Lc 53.0 Large or bold text, headings
#D17FEE text on white 2.63:1 Fails Lc 51.0 Large or bold text, headings
#D17FEE text on black 7.98:1 AAA Lc -50.9 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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EACDF4

    oklch(88.5% 0.061 317.4)

  4. Step 300

    300

    #DDABF0

    oklch(81% 0.109 316.5)

  5. Step 400

    400 (this color)

    #D17FEE

    oklch(72.5% 0.175 316.7)

  6. Step 500

    500

    #BD50E1

    oklch(63.2% 0.224 316.7)

  7. Step 600

    600

    #A828CE

    oklch(55.5% 0.243 316.7)

  8. Step 700

    700

    #9016B3

    oklch(49.1% 0.226 316.5)

  9. Step 800

    800

    #751891

    oklch(42.7% 0.188 316.5)

  10. Step 900

    900

    #5F1E73

    oklch(37.7% 0.146 317)

  11. Step 950

    950

    #381444

    oklch(27.2% 0.092 316.7)

Export this scale for Tailwind in the Tailwind colors tool

#D17FEE 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)#6A9AF20.153
Deuteranopia (no green cones)#82A2EB0.137
Tritanopia (no blue cones)#D08FAB0.116
Achromatopsia (no color)#9F9F9F0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17FEE

    #D17FEE

    oklch(72.5% 0.175 316.7)

  • #6DBE45

    #6DBE45

    oklch(72.4% 0.175 136.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17FEE

    #D17FEE

    oklch(72.5% 0.175 316.7)

  • #A095FF

    #A095FF

    oklch(72.4% 0.151 286.7)

  • #F173BC

    #F173BC

    oklch(72.5% 0.174 346.5)

Open the analogous palette in the generator

Split complementary

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

  • #D17FEE

    #D17FEE

    oklch(72.5% 0.175 316.7)

  • #B2AB00

    #B2AB00

    oklch(72.4% 0.155 106.7)

  • #00C392

    #00C392

    oklch(72.5% 0.149 166.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17FEE

    #D17FEE

    oklch(72.5% 0.175 316.7)

  • #DB9700

    #DB9700

    oklch(72.5% 0.152 76.6)

  • #00BDC0

    #00BDC0

    oklch(72.4% 0.123 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17FEE

    #D17FEE

    oklch(72.5% 0.175 316.7)

  • #FC7D35

    #FC7D35

    oklch(72.5% 0.175 46.7)

  • #6DBE45

    #6DBE45

    oklch(72.4% 0.175 136.9)

  • #00B6E9

    #00B6E9

    oklch(72.4% 0.14 226.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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