#D796DC
Closest named color: Plum (#DDA0DD). oklch(76% 0.12 324.2), rgb(215, 150, 220).
Aa
Black text reads best on this color (9.28:1).
About this color
#D796DC is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.120 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.027 away. Black text reads best on it, at 9.28:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.120) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 9.28:1 |
| White text | 2.26:1 |
Values
| HEX | #D796DC |
| RGB | rgb(215, 150, 220) |
| HSL | hsl(296, 50%, 73%) |
| OKLCH | oklch(76% 0.12 324.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D796DC | 2.26:1 | Fails | Lc -49.3 | Large or bold text, headings |
| Black text on #D796DC | 9.28:1 | AAA | Lc 59.5 | Large or bold text, headings |
| #D796DC text on white | 2.26:1 | Fails | Lc 44.5 | Non-text elements, placeholder text |
| #D796DC text on black | 9.28:1 | AAA | Lc -57.7 | 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.
-
Step 50
50
#FBF2FC
oklch(97.1% 0.016 322.7)
-
Step 100
100
#F6E2F7
oklch(93.5% 0.035 324.4)
-
Step 200
200
#F0CBF2
oklch(88.5% 0.066 324.5)
-
Step 300
300 (this color)
#D796DC
oklch(76% 0.12 324.2)
-
Step 400
400
#D970E3
oklch(70.7% 0.192 324)
-
Step 500
500
#CD3EDA
oklch(63.1% 0.246 324.3)
-
Step 600
600
#B700C6
oklch(55.7% 0.261 324.2)
-
Step 700
700
#9A00A7
oklch(49% 0.23 324.1)
-
Step 800
800
#7F008A
oklch(42.6% 0.2 324.1)
-
Step 900
900
#681170
oklch(37.8% 0.161 324.2)
-
Step 950
950
#3D0E41
oklch(27% 0.101 324.5)
#D796DC 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) | #90A7DF | 0.107 |
| Deuteranopia (no green cones) | #9FAFDA | 0.099 |
| Tritanopia (no blue cones) | #DA9DB0 | 0.072 |
| Achromatopsia (no color) | #ACACAC | 0.121 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D796DC
#D796DC
oklch(76% 0.12 324.2)
- #80C57F
#80C57F
oklch(76% 0.121 144)
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 #D796DC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum #DDA0DD ΔE 0.027
- Lavender Pink #DD85D7 ΔE 0.039
- Baby Purple #CA9BF7 ΔE 0.042
- Lilac #CEA2FD ΔE 0.050
- Pastel Purple #CAA0FF ΔE 0.053
- Pale Purple #B790D4 ΔE 0.056
- Pale Violet #CEAEFA ΔE 0.063
- Liliac #C48EFD ΔE 0.065
Use #D796DC 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.