#D98DEF

Closest named color: Lavender Pink (#DD85D7). oklch(75.5% 0.157 318.4), rgb(217, 141, 239).

Aa

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

About this color

#D98DEF is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.157 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.036 away. Black text reads best on it, at 9.00:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.157)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text9.00:1
White text2.33:1

Values

HEX#D98DEF
RGBrgb(217, 141, 239)
HSLhsl(287, 75%, 75%)
OKLCHoklch(75.5% 0.157 318.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 #D98DEF 2.33:1 Fails Lc -50.7 Large or bold text, headings
Black text on #D98DEF 9.00:1 AAA Lc 58.2 Large or bold text, headings
#D98DEF text on white 2.33:1 Fails Lc 45.8 Large or bold text, headings
#D98DEF text on black 9.00:1 AAA Lc -56.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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CEF1

    oklch(88.5% 0.055 318.4)

  4. Step 300

    300

    #DCADEA

    oklch(81% 0.098 318.3)

  5. Step 400

    400 (this color)

    #D98DEF

    oklch(75.5% 0.157 318.4)

  6. Step 500

    500

    #BA58D6

    oklch(63.1% 0.201 318.2)

  7. Step 600

    600

    #A637C3

    oklch(55.7% 0.218 318.4)

  8. Step 700

    700

    #8E27A8

    oklch(49.1% 0.203 318.5)

  9. Step 800

    800

    #732388

    oklch(42.6% 0.168 318.3)

  10. Step 900

    900

    #5D246D

    oklch(37.7% 0.13 318.2)

  11. Step 950

    950

    #371640

    oklch(27% 0.084 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#D98DEF 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)#7EA5F30.136
Deuteranopia (no green cones)#92ACEC0.123
Tritanopia (no blue cones)#D99AB30.102
Achromatopsia (no color)#AAAAAA0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #D98DEF

    #D98DEF

    oklch(75.5% 0.157 318.4)

  • #7AC760

    #7AC760

    oklch(75.6% 0.158 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D98DEF

    #D98DEF

    oklch(75.5% 0.157 318.4)

  • #ACA1FF

    #ACA1FF

    oklch(75.5% 0.133 288.1)

  • #F783C0

    #F783C0

    oklch(75.6% 0.157 348.7)

Open the analogous palette in the generator

Split complementary

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

  • #D98DEF

    #D98DEF

    oklch(75.5% 0.157 318.4)

  • #B9B61C

    #B9B61C

    oklch(75.5% 0.157 108.4)

  • #00CE9E

    #00CE9E

    oklch(75.6% 0.152 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D98DEF

    #D98DEF

    oklch(75.5% 0.157 318.4)

  • #E5A101

    #E5A101

    oklch(75.5% 0.157 78.3)

  • #00C8CD

    #00C8CD

    oklch(75.6% 0.129 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D98DEF

    #D98DEF

    oklch(75.5% 0.157 318.4)

  • #FE8D4D

    #FE8D4D

    oklch(75.5% 0.158 48.3)

  • #7AC760

    #7AC760

    oklch(75.6% 0.158 138.4)

  • #00C0F9

    #00C0F9

    oklch(75.5% 0.148 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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