#D798DC

Closest named color: Plum (#DDA0DD). oklch(76.3% 0.117 324.1), rgb(215, 152, 220).

Aa

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

About this color

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

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

Values

HEX#D798DC
RGBrgb(215, 152, 220)
HSLhsl(296, 49%, 73%)
OKLCHoklch(76.3% 0.117 324.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 #D798DC 2.23:1 Fails Lc -48.6 Large or bold text, headings
Black text on #D798DC 9.41:1 AAA Lc 60.1 Content text, not long reading
#D798DC text on white 2.23:1 Fails Lc 43.8 Non-text elements, placeholder text
#D798DC text on black 9.41:1 AAA Lc -58.3 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

    #F6E3F7

    oklch(93.7% 0.033 324.3)

  3. Step 200

    200

    #EFCBF2

    oklch(88.5% 0.065 323.7)

  4. Step 300

    300 (this color)

    #D798DC

    oklch(76.3% 0.117 324.1)

  5. Step 400

    400

    #D872E1

    oklch(70.8% 0.187 324.2)

  6. Step 500

    500

    #CB42D8

    oklch(63.1% 0.239 324.2)

  7. Step 600

    600

    #B603C5

    oklch(55.5% 0.26 324.1)

  8. Step 700

    700

    #9A00A7

    oklch(49% 0.23 324.1)

  9. Step 800

    800

    #7F018A

    oklch(42.7% 0.2 324)

  10. Step 900

    900

    #67156F

    oklch(37.8% 0.156 324)

  11. Step 950

    950

    #3C0F41

    oklch(26.9% 0.099 323.6)

Export this scale for Tailwind in the Tailwind colors tool

#D798DC 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)#92A9DF0.104
Deuteranopia (no green cones)#A1B0DA0.096
Tritanopia (no blue cones)#DA9FB10.070
Achromatopsia (no color)#AEAEAE0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #D798DC

    #D798DC

    oklch(76.3% 0.117 324.1)

  • #83C682

    #83C682

    oklch(76.4% 0.117 144)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D798DC

    #D798DC

    oklch(76.3% 0.117 324.1)

  • #B6A3F5

    #B6A3F5

    oklch(76.3% 0.117 294.1)

  • #EC92B7

    #EC92B7

    oklch(76.3% 0.117 354)

Open the analogous palette in the generator

Split complementary

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

  • #D798DC

    #D798DC

    oklch(76.3% 0.117 324.1)

  • #B1BA5F

    #B1BA5F

    oklch(76.2% 0.116 113.8)

  • #51CAAD

    #51CAAD

    oklch(76.3% 0.116 174.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D798DC

    #D798DC

    oklch(76.3% 0.117 324.1)

  • #D5AC53

    #D5AC53

    oklch(76.4% 0.117 84.5)

  • #3AC7D4

    #3AC7D4

    oklch(76.2% 0.117 204.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D798DC

    #D798DC

    oklch(76.3% 0.117 324.1)

  • #EC9D68

    #EC9D68

    oklch(76.3% 0.117 53.9)

  • #83C682

    #83C682

    oklch(76.4% 0.117 144)

  • #5DBEF1

    #5DBEF1

    oklch(76.3% 0.117 234.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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