#D798DB

Closest named color: Plum (#DDA0DD). oklch(76.3% 0.116 324.6), rgb(215, 152, 219).

Aa

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

About this color

#D798DB is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.116 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.40:1.

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

Values

HEX#D798DB
RGBrgb(215, 152, 219)
HSLhsl(296, 48%, 73%)
OKLCHoklch(76.3% 0.116 324.6)

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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F6E3F7

    oklch(93.7% 0.033 324.3)

  3. Step 200

    200

    #EFCBF1

    oklch(88.4% 0.064 324.5)

  4. Step 300

    300 (this color)

    #D798DB

    oklch(76.3% 0.116 324.6)

  5. Step 400

    400

    #D872E0

    oklch(70.7% 0.186 324.6)

  6. Step 500

    500

    #CB43D7

    oklch(63.1% 0.237 324.4)

  7. Step 600

    600

    #B707C4

    oklch(55.7% 0.258 324.7)

  8. Step 700

    700

    #9B00A6

    oklch(49.1% 0.23 324.7)

  9. Step 800

    800

    #7F0289

    oklch(42.6% 0.199 324.4)

  10. Step 900

    900

    #67156E

    oklch(37.7% 0.155 324.5)

  11. Step 950

    950

    #3C0F40

    oklch(26.8% 0.098 324.4)

Export this scale for Tailwind in the Tailwind colors tool

#D798DB 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)#92A9DE0.104
Deuteranopia (no green cones)#A1B0D90.096
Tritanopia (no blue cones)#DA9EB00.069
Achromatopsia (no color)#ADADAD0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #D798DB

    #D798DB

    oklch(76.3% 0.116 324.6)

  • #82C583

    #82C583

    oklch(76.2% 0.115 144.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D798DB

    #D798DB

    oklch(76.3% 0.116 324.6)

  • #B7A3F4

    #B7A3F4

    oklch(76.3% 0.116 294.9)

  • #EC92B6

    #EC92B6

    oklch(76.3% 0.116 354.7)

Open the analogous palette in the generator

Split complementary

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

  • #D798DB

    #D798DB

    oklch(76.3% 0.116 324.6)

  • #B0BA60

    #B0BA60

    oklch(76.2% 0.115 114.4)

  • #52CAAD

    #52CAAD

    oklch(76.3% 0.116 174.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D798DB

    #D798DB

    oklch(76.3% 0.116 324.6)

  • #D4AC54

    #D4AC54

    oklch(76.3% 0.116 84.9)

  • #3CC7D4

    #3CC7D4

    oklch(76.3% 0.116 204.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D798DB

    #D798DB

    oklch(76.3% 0.116 324.6)

  • #EB9D68

    #EB9D68

    oklch(76.2% 0.116 54.3)

  • #82C583

    #82C583

    oklch(76.2% 0.115 144.7)

  • #5EBEF1

    #5EBEF1

    oklch(76.4% 0.116 234.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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