#D798DF

Closest named color: Plum (#DDA0DD). oklch(76.4% 0.12 322.7), rgb(215, 152, 223).

Aa

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

About this color

#D798DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.120 and its hue 323°. 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.44:1.

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

Values

HEX#D798DF
RGBrgb(215, 152, 223)
HSLhsl(293, 53%, 74%)
OKLCHoklch(76.4% 0.12 322.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 #D798DF 2.22:1 Fails Lc -48.4 Large or bold text, headings
Black text on #D798DF 9.44:1 AAA Lc 60.3 Content text, not long reading
#D798DF text on white 2.22:1 Fails Lc 43.7 Non-text elements, placeholder text
#D798DF text on black 9.44:1 AAA Lc -58.5 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

    #FBF2FC

    oklch(97.1% 0.016 322.7)

  2. Step 100

    100

    #F6E3F8

    oklch(93.7% 0.035 322.9)

  3. Step 200

    200

    #EFCBF3

    oklch(88.5% 0.066 322.9)

  4. Step 300

    300 (this color)

    #D798DF

    oklch(76.4% 0.12 322.7)

  5. Step 400

    400

    #D771E5

    oklch(70.7% 0.192 322.7)

  6. Step 500

    500

    #CB40DD

    oklch(63.2% 0.245 322.9)

  7. Step 600

    600

    #B500C9

    oklch(55.6% 0.263 322.8)

  8. Step 700

    700

    #9900AA

    oklch(49.1% 0.232 322.8)

  9. Step 800

    800

    #7E008D

    oklch(42.7% 0.202 322.5)

  10. Step 900

    900

    #661371

    oklch(37.6% 0.159 322.6)

  11. Step 950

    950

    #3C0F42

    oklch(27% 0.1 322.8)

Export this scale for Tailwind in the Tailwind colors tool

#D798DF 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)#91A9E20.105
Deuteranopia (no green cones)#A0B0DD0.096
Tritanopia (no blue cones)#D99FB20.073
Achromatopsia (no color)#AEAEAE0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #D798DF

    #D798DF

    oklch(76.4% 0.12 322.7)

  • #84C67F

    #84C67F

    oklch(76.4% 0.12 142.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D798DF

    #D798DF

    oklch(76.4% 0.12 322.7)

  • #B5A4F8

    #B5A4F8

    oklch(76.5% 0.119 292.6)

  • #ED92B9

    #ED92B9

    oklch(76.5% 0.119 353)

Open the analogous palette in the generator

Split complementary

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

  • #D798DF

    #D798DF

    oklch(76.4% 0.12 322.7)

  • #B3BA5B

    #B3BA5B

    oklch(76.3% 0.12 112.7)

  • #4FCBAB

    #4FCBAB

    oklch(76.4% 0.12 173)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D798DF

    #D798DF

    oklch(76.4% 0.12 322.7)

  • #D8AB50

    #D8AB50

    oklch(76.5% 0.121 82.7)

  • #32C8D4

    #32C8D4

    oklch(76.3% 0.12 203.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D798DF

    #D798DF

    oklch(76.4% 0.12 322.7)

  • #EE9C67

    #EE9C67

    oklch(76.4% 0.12 52.9)

  • #84C67F

    #84C67F

    oklch(76.4% 0.12 142.7)

  • #57BFF2

    #57BFF2

    oklch(76.4% 0.12 232.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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