#D798CA

Closest named color: Plum (#DDA0DD). oklch(75.6% 0.1 334.1), rgb(215, 152, 202).

Aa

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

About this color

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

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

Values

HEX#D798CA
RGBrgb(215, 152, 202)
HSLhsl(312, 44%, 72%)
OKLCHoklch(75.6% 0.1 334.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 #D798CA 2.27:1 Fails Lc -49.6 Large or bold text, headings
Black text on #D798CA 9.23:1 AAA Lc 59.2 Large or bold text, headings
#D798CA text on white 2.27:1 Fails Lc 44.7 Non-text elements, placeholder text
#D798CA text on black 9.23:1 AAA Lc -57.4 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 400.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E6EF

    oklch(93.7% 0.018 334.2)

  3. Step 200

    200

    #E8D1E3

    oklch(88.5% 0.035 333.2)

  4. Step 300

    300

    #DAB2D1

    oklch(80.8% 0.062 334.1)

  5. Step 400

    400 (this color)

    #D798CA

    oklch(75.6% 0.1 334.1)

  6. Step 500

    500

    #B76AA9

    oklch(63.1% 0.127 334)

  7. Step 600

    600

    #A25094

    oklch(55.5% 0.138 334.1)

  8. Step 700

    700

    #8B407E

    oklch(49.1% 0.129 334.4)

  9. Step 800

    800

    #713667

    oklch(42.8% 0.106 334)

  10. Step 900

    900

    #5B2F54

    oklch(37.6% 0.083 333.2)

  11. Step 950

    950

    #361C31

    oklch(27.1% 0.053 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#D798CA 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)#98A6CC0.096
Deuteranopia (no green cones)#A7AFC80.089
Tritanopia (no blue cones)#DD9BAA0.050
Achromatopsia (no color)#ACACAC0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #D798CA

    #D798CA

    oklch(75.6% 0.1 334.1)

  • #7CC393

    #7CC393

    oklch(75.7% 0.1 153.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D798CA

    #D798CA

    oklch(75.6% 0.1 334.1)

  • #BEA0E4

    #BEA0E4

    oklch(75.6% 0.101 304.3)

  • #E695A8

    #E695A8

    oklch(75.7% 0.1 4.5)

Open the analogous palette in the generator

Split complementary

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

  • #D798CA

    #D798CA

    oklch(75.6% 0.1 334.1)

  • #A2BB73

    #A2BB73

    oklch(75.6% 0.1 124.4)

  • #5CC5B7

    #5CC5B7

    oklch(75.7% 0.1 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D798CA

    #D798CA

    oklch(75.6% 0.1 334.1)

  • #C4AF63

    #C4AF63

    oklch(75.6% 0.099 94.4)

  • #5AC0D7

    #5AC0D7

    oklch(75.6% 0.1 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D798CA

    #D798CA

    oklch(75.6% 0.1 334.1)

  • #DCA26B

    #DCA26B

    oklch(75.5% 0.099 63.9)

  • #7CC393

    #7CC393

    oklch(75.7% 0.1 153.8)

  • #77B7EB

    #77B7EB

    oklch(75.6% 0.1 244.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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