#D998DB

Closest named color: Plum (#DDA0DD). oklch(76.5% 0.117 325.6), rgb(217, 152, 219).

Aa

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

About this color

#D998DB is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.117 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.021 away. Black text reads best on it, at 9.46:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text9.46:1
White text2.21:1

Values

HEX#D998DB
RGBrgb(217, 152, 219)
HSLhsl(298, 48%, 73%)
OKLCHoklch(76.5% 0.117 325.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 #D998DB 2.21:1 Fails Lc -48.3 Large or bold text, headings
Black text on #D998DB 9.46:1 AAA Lc 60.4 Content text, not long reading
#D998DB text on white 2.21:1 Fails Lc 43.6 Non-text elements, placeholder text
#D998DB text on black 9.46:1 AAA Lc -58.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 300.

  1. Step 50

    50

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F6E3F6

    oklch(93.7% 0.032 325.8)

  3. Step 200

    200

    #F0CBF1

    oklch(88.5% 0.065 325.3)

  4. Step 300

    300 (this color)

    #D998DB

    oklch(76.5% 0.117 325.6)

  5. Step 400

    400

    #DA71DF

    oklch(70.8% 0.188 325.6)

  6. Step 500

    500

    #CD40D5

    oklch(63% 0.24 325.6)

  7. Step 600

    600

    #B800C2

    oklch(55.6% 0.259 325.5)

  8. Step 700

    700

    #9C00A4

    oklch(49.1% 0.229 325.7)

  9. Step 800

    800

    #810088

    oklch(42.8% 0.2 325.6)

  10. Step 900

    900

    #68136D

    oklch(37.7% 0.157 325.6)

  11. Step 950

    950

    #3D0F40

    oklch(27% 0.099 325.3)

Export this scale for Tailwind in the Tailwind colors tool

#D998DB 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)#93A9DE0.106
Deuteranopia (no green cones)#A2B1D90.098
Tritanopia (no blue cones)#DD9EB00.069
Achromatopsia (no color)#AEAEAE0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #D998DB

    #D998DB

    oklch(76.5% 0.117 325.6)

  • #80C784

    #80C784

    oklch(76.5% 0.119 145.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D998DB

    #D998DB

    oklch(76.5% 0.117 325.6)

  • #B9A3F5

    #B9A3F5

    oklch(76.5% 0.117 295.8)

  • #EE92B5

    #EE92B5

    oklch(76.5% 0.118 355.9)

Open the analogous palette in the generator

Split complementary

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

  • #D998DB

    #D998DB

    oklch(76.5% 0.117 325.6)

  • #AFBC60

    #AFBC60

    oklch(76.5% 0.118 115.9)

  • #4FCBAF

    #4FCBAF

    oklch(76.5% 0.118 175.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D998DB

    #D998DB

    oklch(76.5% 0.117 325.6)

  • #D4AD53

    #D4AD53

    oklch(76.5% 0.117 85.9)

  • #3BC8D7

    #3BC8D7

    oklch(76.6% 0.117 205.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D998DB

    #D998DB

    oklch(76.5% 0.117 325.6)

  • #EC9E66

    #EC9E66

    oklch(76.5% 0.118 55.6)

  • #80C784

    #80C784

    oklch(76.5% 0.119 145.6)

  • #5FBEF3

    #5FBEF3

    oklch(76.5% 0.118 235.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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