#D98CEC

Closest named color: Lavender Pink (#DD85D7). oklch(75.2% 0.156 319.5), rgb(217, 140, 236).

Aa

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

About this color

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

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

Values

HEX#D98CEC
RGBrgb(217, 140, 236)
HSLhsl(288, 72%, 74%)
OKLCHoklch(75.2% 0.156 319.5)

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 #D98CEC 2.35:1 Fails Lc -51.2 Large or bold text, headings
Black text on #D98CEC 8.91:1 AAA Lc 57.8 Large or bold text, headings
#D98CEC text on white 2.35:1 Fails Lc 46.2 Large or bold text, headings
#D98CEC text on black 8.91:1 AAA Lc -55.8 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

    #E9CEF0

    oklch(88.4% 0.054 319.3)

  4. Step 300

    300

    #DCADE8

    oklch(80.9% 0.096 319.3)

  5. Step 400

    400 (this color)

    #D98CEC

    oklch(75.2% 0.156 319.5)

  6. Step 500

    500

    #BB58D3

    oklch(63.1% 0.199 319.4)

  7. Step 600

    600

    #A737C0

    oklch(55.6% 0.216 319.6)

  8. Step 700

    700

    #8F27A6

    oklch(49.1% 0.202 319.5)

  9. Step 800

    800

    #742386

    oklch(42.6% 0.167 319.7)

  10. Step 900

    900

    #5E246C

    oklch(37.8% 0.13 319.3)

  11. Step 950

    950

    #37163F

    oklch(27% 0.082 319.4)

Export this scale for Tailwind in the Tailwind colors tool

#D98CEC 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)#7EA4EF0.137
Deuteranopia (no green cones)#92ACE90.125
Tritanopia (no blue cones)#DA98B10.099
Achromatopsia (no color)#A9A9A90.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #D98CEC

    #D98CEC

    oklch(75.2% 0.156 319.5)

  • #77C663

    #77C663

    oklch(75.3% 0.155 139.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D98CEC

    #D98CEC

    oklch(75.2% 0.156 319.5)

  • #AD9FFF

    #AD9FFF

    oklch(75.2% 0.136 289.4)

  • #F682BD

    #F682BD

    oklch(75.2% 0.156 349.7)

Open the analogous palette in the generator

Split complementary

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

  • #D98CEC

    #D98CEC

    oklch(75.2% 0.156 319.5)

  • #B6B621

    #B6B621

    oklch(75.2% 0.156 109.6)

  • #00CC9F

    #00CC9F

    oklch(75.2% 0.15 169.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D98CEC

    #D98CEC

    oklch(75.2% 0.156 319.5)

  • #E2A103

    #E2A103

    oklch(75.2% 0.156 79.5)

  • #00C6CE

    #00C6CE

    oklch(75.1% 0.128 200)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D98CEC

    #D98CEC

    oklch(75.2% 0.156 319.5)

  • #FC8D4B

    #FC8D4B

    oklch(75.2% 0.156 49.3)

  • #77C663

    #77C663

    oklch(75.3% 0.155 139.5)

  • #00BFFA

    #00BFFA

    oklch(75.3% 0.149 229.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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