#D798E0

Closest named color: Plum (#DDA0DD). oklch(76.5% 0.121 322.3), rgb(215, 152, 224).

Aa

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

About this color

#D798E0 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.121 and its hue 322°. 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.45:1.

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

Values

HEX#D798E0
RGBrgb(215, 152, 224)
HSLhsl(293, 54%, 74%)
OKLCHoklch(76.5% 0.121 322.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 #D798E0 2.22:1 Fails Lc -48.4 Large or bold text, headings
Black text on #D798E0 9.45:1 AAA Lc 60.3 Content text, not long reading
#D798E0 text on white 2.22:1 Fails Lc 43.6 Non-text elements, placeholder text
#D798E0 text on black 9.45: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

    #EFCBF4

    oklch(88.5% 0.067 322.2)

  4. Step 300

    300 (this color)

    #D798E0

    oklch(76.5% 0.121 322.3)

  5. Step 400

    400

    #D770E6

    oklch(70.6% 0.194 322.4)

  6. Step 500

    500

    #CA3FDF

    oklch(63.1% 0.248 322.1)

  7. Step 600

    600

    #B500CA

    oklch(55.6% 0.263 322.5)

  8. Step 700

    700

    #9900AB

    oklch(49.1% 0.233 322.5)

  9. Step 800

    800

    #7E008E

    oklch(42.7% 0.203 322.2)

  10. Step 900

    900

    #661272

    oklch(37.6% 0.161 322.2)

  11. Step 950

    950

    #3C0E43

    oklch(26.9% 0.103 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#D798E0 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)#91A9E30.105
Deuteranopia (no green cones)#A0B0DE0.096
Tritanopia (no blue cones)#D99FB20.075
Achromatopsia (no color)#AEAEAE0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #D798E0

    #D798E0

    oklch(76.5% 0.121 322.3)

  • #84C67E

    #84C67E

    oklch(76.4% 0.121 142.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D798E0

    #D798E0

    oklch(76.5% 0.121 322.3)

  • #B5A4F9

    #B5A4F9

    oklch(76.5% 0.121 292.5)

  • #EE91BA

    #EE91BA

    oklch(76.5% 0.122 352.4)

Open the analogous palette in the generator

Split complementary

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

  • #D798E0

    #D798E0

    oklch(76.5% 0.121 322.3)

  • #B4BA5A

    #B4BA5A

    oklch(76.4% 0.12 112.1)

  • #4ECBAA

    #4ECBAA

    oklch(76.4% 0.121 172.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D798E0

    #D798E0

    oklch(76.5% 0.121 322.3)

  • #D9AB4F

    #D9AB4F

    oklch(76.6% 0.122 82.4)

  • #2FC9D4

    #2FC9D4

    oklch(76.5% 0.121 202.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D798E0

    #D798E0

    oklch(76.5% 0.121 322.3)

  • #EF9C67

    #EF9C67

    oklch(76.5% 0.121 52.6)

  • #84C67E

    #84C67E

    oklch(76.4% 0.121 142.4)

  • #56C0F2

    #56C0F2

    oklch(76.6% 0.12 231.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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