#D98CEE

Closest named color: Lavender Pink (#DD85D7). oklch(75.3% 0.158 318.8), rgb(217, 140, 238).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.158)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.93:1
White text2.34:1

Values

HEX#D98CEE
RGBrgb(217, 140, 238)
HSLhsl(287, 74%, 74%)
OKLCHoklch(75.3% 0.158 318.8)

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 #D98CEE 2.34:1 Fails Lc -51.0 Large or bold text, headings
Black text on #D98CEE 8.93:1 AAA Lc 57.9 Large or bold text, headings
#D98CEE text on white 2.34:1 Fails Lc 46.1 Large or bold text, headings
#D98CEE text on black 8.93:1 AAA Lc -56.0 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

    #DCACE9

    oklch(80.8% 0.099 319)

  5. Step 400

    400 (this color)

    #D98CEE

    oklch(75.3% 0.158 318.8)

  6. Step 500

    500

    #BB57D5

    oklch(63% 0.202 318.9)

  7. Step 600

    600

    #A636C2

    oklch(55.5% 0.219 318.7)

  8. Step 700

    700

    #8F26A8

    oklch(49.2% 0.204 318.9)

  9. Step 800

    800

    #742388

    oklch(42.8% 0.168 318.8)

  10. Step 900

    900

    #5E236D

    oklch(37.7% 0.132 318.9)

  11. Step 950

    950

    #371640

    oklch(27% 0.084 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#D98CEE 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)#7DA4F20.137
Deuteranopia (no green cones)#92ACEB0.124
Tritanopia (no blue cones)#DA98B20.101
Achromatopsia (no color)#A9A9A90.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #D98CEE

    #D98CEE

    oklch(75.3% 0.158 318.8)

  • #78C660

    #78C660

    oklch(75.3% 0.157 138.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D98CEE

    #D98CEE

    oklch(75.3% 0.158 318.8)

  • #ACA0FF

    #ACA0FF

    oklch(75.4% 0.135 288.5)

  • #F682BF

    #F682BF

    oklch(75.3% 0.157 348.7)

Open the analogous palette in the generator

Split complementary

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

  • #D98CEE

    #D98CEE

    oklch(75.3% 0.158 318.8)

  • #B8B61A

    #B8B61A

    oklch(75.4% 0.158 108.8)

  • #00CD9E

    #00CD9E

    oklch(75.4% 0.151 168.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D98CEE

    #D98CEE

    oklch(75.3% 0.158 318.8)

  • #E4A100

    #E4A100

    oklch(75.4% 0.157 78.7)

  • #00C7CD

    #00C7CD

    oklch(75.3% 0.128 198.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D98CEE

    #D98CEE

    oklch(75.3% 0.158 318.8)

  • #FD8D4B

    #FD8D4B

    oklch(75.3% 0.157 49)

  • #78C660

    #78C660

    oklch(75.3% 0.157 138.8)

  • #00BFF9

    #00BFF9

    oklch(75.2% 0.148 229.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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