#D98CE8

Closest named color: Lavender Pink (#DD85D7). oklch(75.1% 0.151 320.9), rgb(217, 140, 232).

Aa

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

About this color

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

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

Values

HEX#D98CE8
RGBrgb(217, 140, 232)
HSLhsl(290, 67%, 73%)
OKLCHoklch(75.1% 0.151 320.9)

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 #D98CE8 2.36:1 Fails Lc -51.4 Large or bold text, headings
Black text on #D98CE8 8.86:1 AAA Lc 57.5 Large or bold text, headings
#D98CE8 text on white 2.36:1 Fails Lc 46.5 Large or bold text, headings
#D98CE8 text on black 8.86:1 AAA Lc -55.6 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

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EACEEF

    oklch(88.5% 0.054 321.1)

  4. Step 300

    300

    #DDADE6

    oklch(80.9% 0.094 321)

  5. Step 400

    400 (this color)

    #D98CE8

    oklch(75.1% 0.151 320.9)

  6. Step 500

    500

    #BC59CF

    oklch(63.1% 0.194 320.9)

  7. Step 600

    600

    #A739BC

    oklch(55.6% 0.21 320.8)

  8. Step 700

    700

    #8F29A2

    oklch(49% 0.196 320.8)

  9. Step 800

    800

    #742583

    oklch(42.6% 0.161 320.8)

  10. Step 900

    900

    #5E2469

    oklch(37.6% 0.127 321)

  11. Step 950

    950

    #37173E

    oklch(27% 0.079 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#D98CE8 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)#80A3EB0.134
Deuteranopia (no green cones)#94ABE50.122
Tritanopia (no blue cones)#DB97AF0.095
Achromatopsia (no color)#A8A8A80.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #D98CE8

    #D98CE8

    oklch(75.1% 0.151 320.9)

  • #75C567

    #75C567

    oklch(75% 0.151 140.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D98CE8

    #D98CE8

    oklch(75.1% 0.151 320.9)

  • #AF9DFF

    #AF9DFF

    oklch(75% 0.139 291.1)

  • #F483BA

    #F483BA

    oklch(75% 0.151 350.8)

Open the analogous palette in the generator

Split complementary

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

  • #D98CE8

    #D98CE8

    oklch(75.1% 0.151 320.9)

  • #B3B62C

    #B3B62C

    oklch(75% 0.151 110.8)

  • #00CBA1

    #00CBA1

    oklch(75% 0.147 170.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D98CE8

    #D98CE8

    oklch(75.1% 0.151 320.9)

  • #DFA214

    #DFA214

    oklch(75.1% 0.152 80.7)

  • #00C6CF

    #00C6CF

    oklch(75.2% 0.128 200.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D98CE8

    #D98CE8

    oklch(75.1% 0.151 320.9)

  • #F88F4C

    #F88F4C

    oklch(75% 0.151 51)

  • #75C567

    #75C567

    oklch(75% 0.151 140.8)

  • #00BEFB

    #00BEFB

    oklch(75.1% 0.151 230.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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