#D989F1

Closest named color: Violet (#EE82EE). oklch(75% 0.166 318.1), rgb(217, 137, 241).

Aa

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

About this color

#D989F1 is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.166 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.036 away. Black text reads best on it, at 8.79:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.166)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.79:1
White text2.38:1

Values

HEX#D989F1
RGBrgb(217, 137, 241)
HSLhsl(286, 79%, 74%)
OKLCHoklch(75% 0.166 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 #D989F1 2.38:1 Fails Lc -51.7 Large or bold text, headings
Black text on #D989F1 8.79:1 AAA Lc 57.2 Large or bold text, headings
#D989F1 text on white 2.38:1 Fails Lc 46.8 Large or bold text, headings
#D989F1 text on black 8.79:1 AAA Lc -55.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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #EACEF2

    oklch(88.6% 0.057 318.7)

  4. Step 300

    300

    #DDABEC

    oklch(80.8% 0.104 318.3)

  5. Step 400

    400 (this color)

    #D989F1

    oklch(75% 0.166 318.1)

  6. Step 500

    500

    #BC54DA

    oklch(63.1% 0.211 318)

  7. Step 600

    600

    #A830C7

    oklch(55.6% 0.23 318.3)

  8. Step 700

    700

    #901FAC

    oklch(49.1% 0.214 318.3)

  9. Step 800

    800

    #751E8C

    oklch(42.8% 0.178 318.1)

  10. Step 900

    900

    #5E2170

    oklch(37.7% 0.138 317.6)

  11. Step 950

    950

    #371541

    oklch(26.9% 0.087 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#D989F1 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)#78A2F50.144
Deuteranopia (no green cones)#8EAAEE0.130
Tritanopia (no blue cones)#D997B20.107
Achromatopsia (no color)#A8A8A80.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #D989F1

    #D989F1

    oklch(75% 0.166 318.1)

  • #75C658

    #75C658

    oklch(75% 0.166 138.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D989F1

    #D989F1

    oklch(75% 0.166 318.1)

  • #AA9FFF

    #AA9FFF

    oklch(75% 0.136 287.9)

  • #F87EC0

    #F87EC0

    oklch(75% 0.166 348.2)

Open the analogous palette in the generator

Split complementary

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

  • #D989F1

    #D989F1

    oklch(75% 0.166 318.1)

  • #B8B400

    #B8B400

    oklch(74.9% 0.162 108.1)

  • #00CC9C

    #00CC9C

    oklch(75.1% 0.152 168.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D989F1

    #D989F1

    oklch(75% 0.166 318.1)

  • #E39F00

    #E39F00

    oklch(74.9% 0.156 78)

  • #00C6CB

    #00C6CB

    oklch(75% 0.128 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D989F1

    #D989F1

    oklch(75% 0.166 318.1)

  • #FF8946

    #FF8946

    oklch(74.9% 0.164 47.9)

  • #75C658

    #75C658

    oklch(75% 0.166 138.2)

  • #00BEF6

    #00BEF6

    oklch(74.9% 0.146 228.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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