#D889F2

Closest named color: Liliac (#C48EFD). oklch(74.9% 0.166 317.4), rgb(216, 137, 242).

Aa

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

About this color

#D889F2 is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.166 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.036 away. Black text reads best on it, at 8.78:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.166)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.78:1
White text2.39:1

Values

HEX#D889F2
RGBrgb(216, 137, 242)
HSLhsl(285, 80%, 74%)
OKLCHoklch(74.9% 0.166 317.4)

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 #D889F2 2.39:1 Fails Lc -51.8 Large or bold text, headings
Black text on #D889F2 8.78:1 AAA Lc 57.1 Large or bold text, headings
#D889F2 text on white 2.39:1 Fails Lc 46.9 Large or bold text, headings
#D889F2 text on black 8.78:1 AAA Lc -55.2 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E9CEF3

    oklch(88.5% 0.058 316.9)

  4. Step 300

    300

    #DCACED

    oklch(80.9% 0.103 317.1)

  5. Step 400

    400 (this color)

    #D889F2

    oklch(74.9% 0.166 317.4)

  6. Step 500

    500

    #BB54DB

    oklch(63% 0.212 317.4)

  7. Step 600

    600

    #A730C9

    oklch(55.6% 0.231 317.4)

  8. Step 700

    700

    #8F20AE

    oklch(49.2% 0.215 317.3)

  9. Step 800

    800

    #741E8D

    oklch(42.7% 0.179 317.2)

  10. Step 900

    900

    #5E2170

    oklch(37.7% 0.138 317.6)

  11. Step 950

    950

    #371542

    oklch(27% 0.088 317.1)

Export this scale for Tailwind in the Tailwind colors tool

#D889F2 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)#77A2F60.144
Deuteranopia (no green cones)#8DAAEF0.129
Tritanopia (no blue cones)#D897B20.109
Achromatopsia (no color)#A8A8A80.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #D889F2

    #D889F2

    oklch(74.9% 0.166 317.4)

  • #77C556

    #77C556

    oklch(74.9% 0.166 137.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D889F2

    #D889F2

    oklch(74.9% 0.166 317.4)

  • #A99FFF

    #A99FFF

    oklch(74.9% 0.136 287.4)

  • #F77EC1

    #F77EC1

    oklch(74.9% 0.165 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #D889F2

    #D889F2

    oklch(74.9% 0.166 317.4)

  • #B9B400

    #B9B400

    oklch(75% 0.161 107.7)

  • #00CC9A

    #00CC9A

    oklch(75% 0.153 167.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D889F2

    #D889F2

    oklch(74.9% 0.166 317.4)

  • #E49F00

    #E49F00

    oklch(75% 0.157 77.6)

  • #00C6CA

    #00C6CA

    oklch(75% 0.128 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D889F2

    #D889F2

    oklch(74.9% 0.166 317.4)

  • #FF8948

    #FF8948

    oklch(74.9% 0.163 47.4)

  • #77C556

    #77C556

    oklch(74.9% 0.166 137.4)

  • #00BEF5

    #00BEF5

    oklch(74.8% 0.146 227.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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