#D798D4

Closest named color: Plum (#DDA0DD). oklch(76% 0.109 328.2), rgb(215, 152, 212).

Aa

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

About this color

#D798D4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.109 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.024 away. Black text reads best on it, at 9.33:1.

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

Values

HEX#D798D4
RGBrgb(215, 152, 212)
HSLhsl(303, 44%, 72%)
OKLCHoklch(76% 0.109 328.2)

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 #D798D4 2.25:1 Fails Lc -49.1 Large or bold text, headings
Black text on #D798D4 9.33:1 AAA Lc 59.7 Large or bold text, headings
#D798D4 text on white 2.25:1 Fails Lc 44.2 Non-text elements, placeholder text
#D798D4 text on black 9.33: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

    #FBF2FA

    oklch(97% 0.014 329.1)

  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)

    #D798D4

    oklch(76% 0.109 328.2)

  5. Step 400

    400

    #D974D6

    oklch(70.6% 0.174 328.3)

  6. Step 500

    500

    #CC48CB

    oklch(63.1% 0.222 328.1)

  7. Step 600

    600

    #B81AB8

    oklch(55.7% 0.242 328.2)

  8. Step 700

    700

    #9E019E

    oklch(49.1% 0.225 328.4)

  9. Step 800

    800

    #800E80

    oklch(42.6% 0.186 328.3)

  10. Step 900

    900

    #671967

    oklch(37.6% 0.145 328)

  11. Step 950

    950

    #3D113C

    oklch(27% 0.092 328.7)

Export this scale for Tailwind in the Tailwind colors tool

#D798D4 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)#95A8D60.100
Deuteranopia (no green cones)#A4B0D20.093
Tritanopia (no blue cones)#DB9DAD0.062
Achromatopsia (no color)#ADADAD0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #D798D4

    #D798D4

    oklch(76% 0.109 328.2)

  • #7FC48A

    #7FC48A

    oklch(75.9% 0.108 148.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D798D4

    #D798D4

    oklch(76% 0.109 328.2)

  • #BAA2ED

    #BAA2ED

    oklch(76.1% 0.108 298.5)

  • #E993B0

    #E993B0

    oklch(75.9% 0.109 358.3)

Open the analogous palette in the generator

Split complementary

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

  • #D798D4

    #D798D4

    oklch(76% 0.109 328.2)

  • #AABB68

    #AABB68

    oklch(76% 0.11 118.6)

  • #56C8B1

    #56C8B1

    oklch(76.1% 0.109 177.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D798D4

    #D798D4

    oklch(76% 0.109 328.2)

  • #CEAD5A

    #CEAD5A

    oklch(76% 0.109 88)

  • #4AC4D5

    #4AC4D5

    oklch(76% 0.109 208.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D798D4

    #D798D4

    oklch(76% 0.109 328.2)

  • #E59F69

    #E59F69

    oklch(75.9% 0.109 57.8)

  • #7FC48A

    #7FC48A

    oklch(75.9% 0.108 148.4)

  • #69BBEE

    #69BBEE

    oklch(76% 0.109 237.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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