#D98BEF

Closest named color: Lavender Pink (#DD85D7). oklch(75.2% 0.16 318.6), rgb(217, 139, 239).

Aa

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

About this color

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

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

Values

HEX#D98BEF
RGBrgb(217, 139, 239)
HSLhsl(287, 76%, 74%)
OKLCHoklch(75.2% 0.16 318.6)

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 #D98BEF 2.36:1 Fails Lc -51.3 Large or bold text, headings
Black text on #D98BEF 8.88:1 AAA Lc 57.7 Large or bold text, headings
#D98BEF text on white 2.36:1 Fails Lc 46.3 Large or bold text, headings
#D98BEF text on black 8.88:1 AAA Lc -55.7 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

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E9CEF1

    oklch(88.5% 0.055 318.4)

  4. Step 300

    300

    #DCACEA

    oklch(80.8% 0.1 318.5)

  5. Step 400

    400 (this color)

    #D98BEF

    oklch(75.2% 0.16 318.6)

  6. Step 500

    500

    #BB56D7

    oklch(63% 0.205 318.4)

  7. Step 600

    600

    #A734C4

    oklch(55.6% 0.223 318.6)

  8. Step 700

    700

    #8F24A9

    oklch(49.1% 0.207 318.7)

  9. Step 800

    800

    #742189

    oklch(42.7% 0.172 318.6)

  10. Step 900

    900

    #5E226E

    oklch(37.7% 0.135 318.5)

  11. Step 950

    950

    #371640

    oklch(27% 0.084 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#D98BEF 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)#7CA3F30.139
Deuteranopia (no green cones)#90ABEC0.126
Tritanopia (no blue cones)#D998B20.103
Achromatopsia (no color)#A9A9A90.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #D98BEF

    #D98BEF

    oklch(75.2% 0.16 318.6)

  • #77C65D

    #77C65D

    oklch(75.2% 0.161 138.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D98BEF

    #D98BEF

    oklch(75.2% 0.16 318.6)

  • #AC9FFF

    #AC9FFF

    oklch(75.2% 0.136 288.9)

  • #F780BF

    #F780BF

    oklch(75.1% 0.161 348.7)

Open the analogous palette in the generator

Split complementary

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

  • #D98BEF

    #D98BEF

    oklch(75.2% 0.16 318.6)

  • #B8B50E

    #B8B50E

    oklch(75.1% 0.16 108.5)

  • #00CC9D

    #00CC9D

    oklch(75.1% 0.151 168.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D98BEF

    #D98BEF

    oklch(75.2% 0.16 318.6)

  • #E3A000

    #E3A000

    oklch(75.1% 0.156 78.6)

  • #00C7CC

    #00C7CC

    oklch(75.3% 0.128 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D98BEF

    #D98BEF

    oklch(75.2% 0.16 318.6)

  • #FE8B49

    #FE8B49

    oklch(75.1% 0.161 48.3)

  • #77C65D

    #77C65D

    oklch(75.2% 0.161 138.5)

  • #00BFF8

    #00BFF8

    oklch(75.2% 0.148 228.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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