#D98DE9

Closest named color: Lavender Pink (#DD85D7). oklch(75.3% 0.151 320.5), rgb(217, 141, 233).

Aa

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

About this color

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

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

Values

HEX#D98DE9
RGBrgb(217, 141, 233)
HSLhsl(290, 68%, 73%)
OKLCHoklch(75.3% 0.151 320.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 #D98DE9 2.34:1 Fails Lc -51.0 Large or bold text, headings
Black text on #D98DE9 8.93:1 AAA Lc 57.9 Large or bold text, headings
#D98DE9 text on white 2.34:1 Fails Lc 46.1 Large or bold text, headings
#D98DE9 text on black 8.93:1 AAA Lc -55.9 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

    #F2E4F5

    oklch(93.5% 0.027 320.2)

  3. Step 200

    200

    #E9CEEF

    oklch(88.4% 0.053 320.1)

  4. Step 300

    300

    #DCADE6

    oklch(80.9% 0.094 320.4)

  5. Step 400

    400 (this color)

    #D98DE9

    oklch(75.3% 0.151 320.5)

  6. Step 500

    500

    #BB5ACF

    oklch(63.1% 0.192 320.5)

  7. Step 600

    600

    #A63ABC

    oklch(55.5% 0.209 320.4)

  8. Step 700

    700

    #8F2AA2

    oklch(49.1% 0.195 320.8)

  9. Step 800

    800

    #742584

    oklch(42.7% 0.162 320.4)

  10. Step 900

    900

    #5E2569

    oklch(37.7% 0.125 320.9)

  11. Step 950

    950

    #37173E

    oklch(27% 0.079 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#D98DE9 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)#81A4EC0.133
Deuteranopia (no green cones)#95ACE60.120
Tritanopia (no blue cones)#DB98B00.095
Achromatopsia (no color)#A9A9A90.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #D98DE9

    #D98DE9

    oklch(75.3% 0.151 320.5)

  • #77C667

    #77C667

    oklch(75.3% 0.151 140.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D98DE9

    #D98DE9

    oklch(75.3% 0.151 320.5)

  • #AF9EFF

    #AF9EFF

    oklch(75.2% 0.138 290.7)

  • #F584BB

    #F584BB

    oklch(75.3% 0.151 350.8)

Open the analogous palette in the generator

Split complementary

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

  • #D98DE9

    #D98DE9

    oklch(75.3% 0.151 320.5)

  • #B4B72E

    #B4B72E

    oklch(75.3% 0.151 110.8)

  • #00CCA1

    #00CCA1

    oklch(75.2% 0.148 170.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D98DE9

    #D98DE9

    oklch(75.3% 0.151 320.5)

  • #E0A219

    #E0A219

    oklch(75.2% 0.151 80)

  • #00C6CF

    #00C6CF

    oklch(75.2% 0.128 200.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D98DE9

    #D98DE9

    oklch(75.3% 0.151 320.5)

  • #F98F4E

    #F98F4E

    oklch(75.2% 0.151 50.2)

  • #77C667

    #77C667

    oklch(75.3% 0.151 140.3)

  • #00BFFC

    #00BFFC

    oklch(75.4% 0.151 230.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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