#D798E2

Closest named color: Plum (#DDA0DD). oklch(76.6% 0.123 321.4), rgb(215, 152, 226).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text9.47:1
White text2.21:1

Values

HEX#D798E2
RGBrgb(215, 152, 226)
HSLhsl(291, 56%, 74%)
OKLCHoklch(76.6% 0.123 321.4)

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 #D798E2 2.21:1 Fails Lc -48.3 Large or bold text, headings
Black text on #D798E2 9.47:1 AAA Lc 60.5 Content text, not long reading
#D798E2 text on white 2.21:1 Fails Lc 43.5 Non-text elements, placeholder text
#D798E2 text on black 9.47:1 AAA Lc -58.7 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

    #F5E3F9

    oklch(93.7% 0.035 320.1)

  3. Step 200

    200

    #EFCBF5

    oklch(88.6% 0.069 321.5)

  4. Step 300

    300 (this color)

    #D798E2

    oklch(76.6% 0.123 321.4)

  5. Step 400

    400

    #D770E9

    oklch(70.8% 0.197 321.5)

  6. Step 500

    500

    #CA3DE2

    oklch(63.1% 0.252 321.4)

  7. Step 600

    600

    #B400CD

    oklch(55.7% 0.265 321.4)

  8. Step 700

    700

    #9800AD

    oklch(49.1% 0.234 321.5)

  9. Step 800

    800

    #7D008F

    oklch(42.7% 0.203 321.4)

  10. Step 900

    900

    #661074

    oklch(37.6% 0.164 321.4)

  11. Step 950

    950

    #3C0E44

    oklch(27% 0.104 321.3)

Export this scale for Tailwind in the Tailwind colors tool

#D798E2 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)#90AAE50.107
Deuteranopia (no green cones)#9FB1E00.099
Tritanopia (no blue cones)#D9A0B30.077
Achromatopsia (no color)#AEAEAE0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #D798E2

    #D798E2

    oklch(76.6% 0.123 321.4)

  • #85C77C

    #85C77C

    oklch(76.7% 0.124 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D798E2

    #D798E2

    oklch(76.6% 0.123 321.4)

  • #B4A4FB

    #B4A4FB

    oklch(76.6% 0.123 291.6)

  • #EE91BC

    #EE91BC

    oklch(76.5% 0.123 351.2)

Open the analogous palette in the generator

Split complementary

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

  • #D798E2

    #D798E2

    oklch(76.6% 0.123 321.4)

  • #B6BA57

    #B6BA57

    oklch(76.5% 0.123 111.1)

  • #4DCCA9

    #4DCCA9

    oklch(76.5% 0.123 171.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D798E2

    #D798E2

    oklch(76.6% 0.123 321.4)

  • #DAAA4D

    #DAAA4D

    oklch(76.5% 0.123 81.5)

  • #29CAD3

    #29CAD3

    oklch(76.6% 0.123 200.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D798E2

    #D798E2

    oklch(76.6% 0.123 321.4)

  • #F19B67

    #F19B67

    oklch(76.6% 0.123 51.2)

  • #85C77C

    #85C77C

    oklch(76.7% 0.124 141.5)

  • #52C0F3

    #52C0F3

    oklch(76.5% 0.123 231.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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