#D796CF
Closest named color: Plum (#DDA0DD). oklch(75.5% 0.108 330.9), rgb(215, 150, 207).
Aa
Black text reads best on this color (9.15:1).
About this color
#D796CF is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.108 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.030 away. Black text reads best on it, at 9.15:1.
| Hue family | Purples |
| Lightness | medium-light (75%) |
| Chroma | moderately saturated (0.108) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 9.15:1 |
| White text | 2.29:1 |
Values
| HEX | #D796CF |
| RGB | rgb(215, 150, 207) |
| HSL | hsl(307, 45%, 72%) |
| OKLCH | oklch(75.5% 0.108 330.9) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D796CF | 2.29:1 | Fails | Lc -50.0 | Large or bold text, headings |
| Black text on #D796CF | 9.15:1 | AAA | Lc 58.8 | Large or bold text, headings |
| #D796CF text on white | 2.29:1 | Fails | Lc 45.1 | Large or bold text, headings |
| #D796CF text on black | 9.15:1 | AAA | Lc -57.0 | 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.
-
Step 50
50
#F9F3F8
oklch(97% 0.009 330.9)
-
Step 100
100
#F2E5F0
oklch(93.5% 0.02 330.7)
-
Step 200
200
#E8D1E5
oklch(88.5% 0.037 330.1)
-
Step 300
300
#DBB1D5
oklch(80.9% 0.068 331)
-
Step 400
400 (this color)
#D796CF
oklch(75.5% 0.108 330.9)
-
Step 500
500
#B868B0
oklch(63.2% 0.138 330.8)
-
Step 600
600
#A34D9B
oklch(55.6% 0.15 331)
-
Step 700
700
#8B3E84
oklch(49.1% 0.138 331)
-
Step 800
800
#71336C
oklch(42.6% 0.116 330.5)
-
Step 900
900
#5C2E57
oklch(37.8% 0.089 331.3)
-
Step 950
950
#361B33
oklch(27% 0.057 331.2)
#D796CF 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #94A6D1 | 0.102 |
| Deuteranopia (no green cones) | #A4AECD | 0.093 |
| Tritanopia (no blue cones) | #DC9AAA | 0.058 |
| Achromatopsia (no color) | #ABABAB | 0.109 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D796CF
#D796CF
oklch(75.5% 0.108 330.9)
- #7AC38C
#7AC38C
oklch(75.4% 0.108 151)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D796CF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum #DDA0DD ΔE 0.030
- Lavender Pink #DD85D7 ΔE 0.045
- Pale Purple #B790D4 ΔE 0.056
- Baby Purple #CA9BF7 ΔE 0.059
- Faded Pink #DE9DAC ΔE 0.060
- Pig Pink #E78EA5 ΔE 0.062
- Lilac #CEA2FD ΔE 0.066
- Pastel Purple #CAA0FF ΔE 0.070
Use #D796CF 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.