#D798DA

Closest named color: Plum (#DDA0DD). oklch(76.2% 0.115 325.1), rgb(215, 152, 218).

Aa

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

About this color

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

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

Values

HEX#D798DA
RGBrgb(215, 152, 218)
HSLhsl(297, 47%, 73%)
OKLCHoklch(76.2% 0.115 325.1)

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 #D798DA 2.23:1 Fails Lc -48.7 Large or bold text, headings
Black text on #D798DA 9.39:1 AAA Lc 60.0 Content text, not long reading
#D798DA text on white 2.23:1 Fails Lc 43.9 Non-text elements, placeholder text
#D798DA text on black 9.39:1 AAA Lc -58.2 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

    #EFCBF1

    oklch(88.4% 0.064 324.5)

  4. Step 300

    300 (this color)

    #D798DA

    oklch(76.2% 0.115 325.1)

  5. Step 400

    400

    #D872DE

    oklch(70.6% 0.184 325.2)

  6. Step 500

    500

    #CB44D5

    oklch(63.1% 0.234 325)

  7. Step 600

    600

    #B70BC2

    oklch(55.6% 0.255 325.2)

  8. Step 700

    700

    #9B00A5

    oklch(49% 0.229 325.1)

  9. Step 800

    800

    #800488

    oklch(42.8% 0.197 325.2)

  10. Step 900

    900

    #67166D

    oklch(37.8% 0.153 325)

  11. Step 950

    950

    #3D1040

    oklch(27.1% 0.097 325.2)

Export this scale for Tailwind in the Tailwind colors tool

#D798DA 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)#93A9DD0.103
Deuteranopia (no green cones)#A2B0D80.095
Tritanopia (no blue cones)#DA9EB00.068
Achromatopsia (no color)#ADADAD0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #D798DA

    #D798DA

    oklch(76.2% 0.115 325.1)

  • #82C584

    #82C584

    oklch(76.2% 0.114 145)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D798DA

    #D798DA

    oklch(76.2% 0.115 325.1)

  • #B7A3F3

    #B7A3F3

    oklch(76.2% 0.114 295)

  • #EB92B5

    #EB92B5

    oklch(76.1% 0.115 355)

Open the analogous palette in the generator

Split complementary

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

  • #D798DA

    #D798DA

    oklch(76.2% 0.115 325.1)

  • #AFBB61

    #AFBB61

    oklch(76.3% 0.116 115.5)

  • #52CAAE

    #52CAAE

    oklch(76.3% 0.115 175)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D798DA

    #D798DA

    oklch(76.2% 0.115 325.1)

  • #D3AC55

    #D3AC55

    oklch(76.2% 0.115 85.3)

  • #3EC7D4

    #3EC7D4

    oklch(76.3% 0.115 204.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D798DA

    #D798DA

    oklch(76.2% 0.115 325.1)

  • #EA9E68

    #EA9E68

    oklch(76.3% 0.115 55.5)

  • #82C584

    #82C584

    oklch(76.2% 0.114 145)

  • #60BDF0

    #60BDF0

    oklch(76.2% 0.115 235)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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