#D798D5

Closest named color: Plum (#DDA0DD). oklch(76% 0.11 327.7), rgb(215, 152, 213).

Aa

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

About this color

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

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

Values

HEX#D798D5
RGBrgb(215, 152, 213)
HSLhsl(302, 44%, 72%)
OKLCHoklch(76% 0.11 327.7)

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 #D798D5 2.24:1 Fails Lc -49.0 Large or bold text, headings
Black text on #D798D5 9.34:1 AAA Lc 59.8 Large or bold text, headings
#D798D5 text on white 2.24:1 Fails Lc 44.2 Non-text elements, placeholder text
#D798D5 text on black 9.34:1 AAA Lc -57.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 300.

  1. Step 50

    50

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F6E3F5

    oklch(93.6% 0.031 327.4)

  3. Step 200

    200

    #F0CCEE

    oklch(88.6% 0.06 327.8)

  4. Step 300

    300 (this color)

    #D798D5

    oklch(76% 0.11 327.7)

  5. Step 400

    400

    #D974D8

    oklch(70.7% 0.176 327.6)

  6. Step 500

    500

    #CC47CD

    oklch(63.1% 0.225 327.5)

  7. Step 600

    600

    #B818BA

    oklch(55.7% 0.245 327.7)

  8. Step 700

    700

    #9E00A0

    oklch(49.2% 0.227 327.7)

  9. Step 800

    800

    #800D82

    oklch(42.7% 0.188 327.4)

  10. Step 900

    900

    #671868

    oklch(37.6% 0.147 327.5)

  11. Step 950

    950

    #3D113D

    oklch(27.1% 0.093 327.8)

Export this scale for Tailwind in the Tailwind colors tool

#D798D5 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)#94A8D70.102
Deuteranopia (no green cones)#A3B0D30.094
Tritanopia (no blue cones)#DB9DAE0.062
Achromatopsia (no color)#ADADAD0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #D798D5

    #D798D5

    oklch(76% 0.11 327.7)

  • #80C489

    #80C489

    oklch(75.9% 0.109 147.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D798D5

    #D798D5

    oklch(76% 0.11 327.7)

  • #B9A2EE

    #B9A2EE

    oklch(76% 0.109 297.6)

  • #EA93B1

    #EA93B1

    oklch(76% 0.11 357.9)

Open the analogous palette in the generator

Split complementary

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

  • #D798D5

    #D798D5

    oklch(76% 0.11 327.7)

  • #ABBB67

    #ABBB67

    oklch(76.1% 0.111 118)

  • #55C8B1

    #55C8B1

    oklch(76% 0.11 177.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D798D5

    #D798D5

    oklch(76% 0.11 327.7)

  • #CFAD5A

    #CFAD5A

    oklch(76.1% 0.11 87.4)

  • #48C5D5

    #48C5D5

    oklch(76.1% 0.11 207.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D798D5

    #D798D5

    oklch(76% 0.11 327.7)

  • #E69F69

    #E69F69

    oklch(76% 0.11 57.4)

  • #80C489

    #80C489

    oklch(75.9% 0.109 147.7)

  • #68BBEF

    #68BBEF

    oklch(76% 0.11 238.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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