#D798CD

Closest named color: Plum (#DDA0DD). oklch(75.7% 0.102 332.2), rgb(215, 152, 205).

Aa

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

About this color

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

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

Values

HEX#D798CD
RGBrgb(215, 152, 205)
HSLhsl(310, 44%, 72%)
OKLCHoklch(75.7% 0.102 332.2)

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 #D798CD 2.26:1 Fails Lc -49.4 Large or bold text, headings
Black text on #D798CD 9.26:1 AAA Lc 59.4 Large or bold text, headings
#D798CD text on white 2.26:1 Fails Lc 44.6 Non-text elements, placeholder text
#D798CD text on black 9.26:1 AAA Lc -57.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 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

    #E8D1E4

    oklch(88.5% 0.036 331.6)

  4. Step 300

    300

    #DAB2D3

    oklch(80.9% 0.064 332.2)

  5. Step 400

    400 (this color)

    #D798CD

    oklch(75.7% 0.102 332.2)

  6. Step 500

    500

    #B769AC

    oklch(63.1% 0.132 332.4)

  7. Step 600

    600

    #A24F97

    oklch(55.5% 0.143 332.5)

  8. Step 700

    700

    #8A4081

    oklch(49.1% 0.131 332.2)

  9. Step 800

    800

    #703569

    oklch(42.6% 0.109 331.9)

  10. Step 900

    900

    #5B2F55

    oklch(37.7% 0.084 332.3)

  11. Step 950

    950

    #361C32

    oklch(27.1% 0.054 332.8)

Export this scale for Tailwind in the Tailwind colors tool

#D798CD 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)#97A7CF0.098
Deuteranopia (no green cones)#A6AFCB0.090
Tritanopia (no blue cones)#DD9BAB0.053
Achromatopsia (no color)#ACACAC0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #D798CD

    #D798CD

    oklch(75.7% 0.102 332.2)

  • #7DC390

    #7DC390

    oklch(75.7% 0.102 152)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D798CD

    #D798CD

    oklch(75.7% 0.102 332.2)

  • #BCA1E6

    #BCA1E6

    oklch(75.7% 0.101 302)

  • #E795AB

    #E795AB

    oklch(75.9% 0.102 2.4)

Open the analogous palette in the generator

Split complementary

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

  • #D798CD

    #D798CD

    oklch(75.7% 0.102 332.2)

  • #A5BB70

    #A5BB70

    oklch(75.8% 0.103 122.2)

  • #5AC6B5

    #5AC6B5

    oklch(75.8% 0.103 181.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D798CD

    #D798CD

    oklch(75.7% 0.102 332.2)

  • #C7AE60

    #C7AE60

    oklch(75.6% 0.102 92.1)

  • #55C1D6

    #55C1D6

    oklch(75.6% 0.102 212.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D798CD

    #D798CD

    oklch(75.7% 0.102 332.2)

  • #DFA16A

    #DFA16A

    oklch(75.6% 0.103 61.9)

  • #7DC390

    #7DC390

    oklch(75.7% 0.102 152)

  • #73B8EC

    #73B8EC

    oklch(75.7% 0.103 242.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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