#D796D7
Closest named color: Plum (#DDA0DD). oklch(75.8% 0.115 326.6), rgb(215, 150, 215).
Aa
Black text reads best on this color (9.23:1).
About this color
#D796D7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.115 and its hue 327°. 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.23:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.115) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 9.23:1 |
| White text | 2.27:1 |
Values
| HEX | #D796D7 |
| RGB | rgb(215, 150, 215) |
| HSL | hsl(300, 45%, 72%) |
| OKLCH | oklch(75.8% 0.115 326.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D796D7 | 2.27:1 | Fails | Lc -49.6 | Large or bold text, headings |
| Black text on #D796D7 | 9.23:1 | AAA | Lc 59.3 | Large or bold text, headings |
| #D796D7 text on white | 2.27:1 | Fails | Lc 44.7 | Non-text elements, placeholder text |
| #D796D7 text on black | 9.23:1 | AAA | Lc -57.4 | 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
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F2E5F1
oklch(93.6% 0.021 328.1)
-
Step 200
200
#E8D0E7
oklch(88.4% 0.041 327.2)
-
Step 300
300
#DAB1D9
oklch(80.9% 0.071 327)
-
Step 400
400 (this color)
#D796D7
oklch(75.8% 0.115 326.6)
-
Step 500
500
#B766B8
oklch(63.1% 0.148 326.7)
-
Step 600
600
#A24BA4
oklch(55.6% 0.161 326.6)
-
Step 700
700
#8A3C8C
oklch(49.1% 0.148 326.6)
-
Step 800
800
#703272
oklch(42.7% 0.123 326.3)
-
Step 900
900
#5B2D5C
oklch(37.7% 0.095 326.5)
-
Step 950
950
#361B36
oklch(27.1% 0.061 327.1)
#D796D7 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) | #92A7DA | 0.105 |
| Deuteranopia (no green cones) | #A1AFD5 | 0.097 |
| Tritanopia (no blue cones) | #DB9CAE | 0.067 |
| Achromatopsia (no color) | #ACACAC | 0.116 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D796D7
#D796D7
oklch(75.8% 0.115 326.6)
- #7DC484
#7DC484
oklch(75.7% 0.116 146.7)
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 #D796D7, 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.040
- Baby Purple #CA9BF7 ΔE 0.049
- Pale Purple #B790D4 ΔE 0.055
- Lilac #CEA2FD ΔE 0.056
- Pastel Purple #CAA0FF ΔE 0.059
- Pale Violet #CEAEFA ΔE 0.066
- Violet #EE82EE ΔE 0.071
Use #D796D7 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.