#D798D2

Closest named color: Plum (#DDA0DD). oklch(75.9% 0.107 329.3), rgb(215, 152, 210).

Aa

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

About this color

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

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

Values

HEX#D798D2
RGBrgb(215, 152, 210)
HSLhsl(305, 44%, 72%)
OKLCHoklch(75.9% 0.107 329.3)

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 #D798D2 2.25:1 Fails Lc -49.2 Large or bold text, headings
Black text on #D798D2 9.31:1 AAA Lc 59.6 Large or bold text, headings
#D798D2 text on white 2.25:1 Fails Lc 44.3 Non-text elements, placeholder text
#D798D2 text on black 9.31:1 AAA Lc -57.8 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

    #F6E3F4

    oklch(93.6% 0.03 329.1)

  3. Step 200

    200

    #F0CCED

    oklch(88.6% 0.059 328.7)

  4. Step 300

    300 (this color)

    #D798D2

    oklch(75.9% 0.107 329.3)

  5. Step 400

    400

    #D975D4

    oklch(70.7% 0.171 329.1)

  6. Step 500

    500

    #CD49C8

    oklch(63.1% 0.219 329.4)

  7. Step 600

    600

    #B81DB4

    oklch(55.6% 0.238 329.4)

  8. Step 700

    700

    #9E079B

    oklch(49.1% 0.221 329.3)

  9. Step 800

    800

    #80117E

    oklch(42.6% 0.183 329.1)

  10. Step 900

    900

    #681A65

    oklch(37.8% 0.142 329.6)

  11. Step 950

    950

    #3D113B

    oklch(26.9% 0.091 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#D798D2 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)#95A7D40.100
Deuteranopia (no green cones)#A4B0D00.093
Tritanopia (no blue cones)#DC9CAD0.058
Achromatopsia (no color)#ADADAD0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #D798D2

    #D798D2

    oklch(75.9% 0.107 329.3)

  • #7FC48C

    #7FC48C

    oklch(75.9% 0.106 149.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D798D2

    #D798D2

    oklch(75.9% 0.107 329.3)

  • #BAA2EB

    #BAA2EB

    oklch(76% 0.106 299)

  • #E994AF

    #E994AF

    oklch(76% 0.107 359.4)

Open the analogous palette in the generator

Split complementary

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

  • #D798D2

    #D798D2

    oklch(75.9% 0.107 329.3)

  • #A9BB6B

    #A9BB6B

    oklch(76% 0.107 119.4)

  • #57C7B2

    #57C7B2

    oklch(75.9% 0.107 179)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D798D2

    #D798D2

    oklch(75.9% 0.107 329.3)

  • #CCAE5C

    #CCAE5C

    oklch(76% 0.107 89.6)

  • #4DC3D6

    #4DC3D6

    oklch(75.8% 0.107 209.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D798D2

    #D798D2

    oklch(75.9% 0.107 329.3)

  • #E3A069

    #E3A069

    oklch(75.9% 0.107 59.6)

  • #7FC48C

    #7FC48C

    oklch(75.9% 0.106 149.3)

  • #6CBAEE

    #6CBAEE

    oklch(75.9% 0.108 239.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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