#D797CF

Closest named color: Plum (#DDA0DD). oklch(75.6% 0.106 331), rgb(215, 151, 207).

Aa

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

About this color

#D797CF is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.106 and its hue 331°. 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.21:1.

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

Values

HEX#D797CF
RGBrgb(215, 151, 207)
HSLhsl(308, 44%, 72%)
OKLCHoklch(75.6% 0.106 331)

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 #D797CF 2.27:1 Fails Lc -49.7 Large or bold text, headings
Black text on #D797CF 9.21:1 AAA Lc 59.2 Large or bold text, headings
#D797CF text on white 2.27:1 Fails Lc 44.8 Non-text elements, placeholder text
#D797CF text on black 9.21:1 AAA Lc -57.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 400.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E8D1E4

    oklch(88.5% 0.036 331.6)

  4. Step 300

    300

    #DAB2D5

    oklch(81% 0.066 330.3)

  5. Step 400

    400 (this color)

    #D797CF

    oklch(75.6% 0.106 331)

  6. Step 500

    500

    #B768AF

    oklch(63% 0.136 330.8)

  7. Step 600

    600

    #A24E9A

    oklch(55.5% 0.147 331)

  8. Step 700

    700

    #8B3E84

    oklch(49.1% 0.138 331)

  9. Step 800

    800

    #71346B

    oklch(42.7% 0.114 331.2)

  10. Step 900

    900

    #5B2E57

    oklch(37.6% 0.088 330.5)

  11. Step 950

    950

    #361B33

    oklch(27% 0.057 331.2)

Export this scale for Tailwind in the Tailwind colors tool

#D797CF 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)#95A6D10.100
Deuteranopia (no green cones)#A4AFCD0.093
Tritanopia (no blue cones)#DC9BAB0.057
Achromatopsia (no color)#ACACAC0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #D797CF

    #D797CF

    oklch(75.6% 0.106 331)

  • #7CC38D

    #7CC38D

    oklch(75.6% 0.106 150.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D797CF

    #D797CF

    oklch(75.6% 0.106 331)

  • #BBA0E9

    #BBA0E9

    oklch(75.6% 0.106 300.9)

  • #E893AC

    #E893AC

    oklch(75.7% 0.106 0.9)

Open the analogous palette in the generator

Split complementary

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

  • #D797CF

    #D797CF

    oklch(75.6% 0.106 331)

  • #A6BA6C

    #A6BA6C

    oklch(75.6% 0.105 120.7)

  • #56C6B4

    #56C6B4

    oklch(75.7% 0.106 181.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D797CF

    #D797CF

    oklch(75.6% 0.106 331)

  • #C9AD5C

    #C9AD5C

    oklch(75.5% 0.106 90.7)

  • #4FC2D6

    #4FC2D6

    oklch(75.7% 0.106 210.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D797CF

    #D797CF

    oklch(75.6% 0.106 331)

  • #E1A068

    #E1A068

    oklch(75.6% 0.106 60.9)

  • #7CC38D

    #7CC38D

    oklch(75.6% 0.106 150.8)

  • #6FB8ED

    #6FB8ED

    oklch(75.6% 0.106 241.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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