#D79CD7#D79CD7
#D79CD7 is a light, moderate purple. Relative luminance 0.431; OKLCH L 76.8% C 0.105 H 326.5°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D79CD7 |
|---|---|
| RGB | rgb(215, 156, 215) |
| HSL | hsl(300, 42%, 73%) |
| HSV | hsv(300, 27%, 84%) |
| CMYK | cmyk(0%, 27.4%, 0%, 15.7%) |
| CIE-LAB | lab(71.64, 31.63, -21.38) |
| CIE-LCH | lch(71.64, 38.18, 325.94°) |
| OKLab | oklab(76.8% 0.0874 -0.0578) |
| OKLCH | oklch(76.8% 0.105 326.5) |
| XYZ | xyz(52.1773, 43.1320, 69.8536) |
| Luminance | 0.4313 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 1.36
Lilac
#C8A2C8
ΔE00 5.56
Lavender Pink
#DD85D7
ΔE00 6.16
Pale Purple
#B790D4
ΔE00 7.38
Lavender (survey)
#C79FEF
ΔE00 7.50
Mauve
#E0B0FF
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D79CD7 #9CD79C
analogous
#B99CD7 #D79CD7 #D79CB9
triadic
#D79CD7 #D7D79C #9CD7D7
tetradic
#D79CD7 #D7B99C #9CD79C #9CB9D7
square
#D79CD7 #D7B99C #9CD79C #9CB9D7
split-complementary
#D79CD7 #B9D79C #9CD7B9
monochromatic
#B148B1 #C570C5 #D79CD7 #E9C8E9 #F6E9F6
Accessibility & contrast
On white
2.18
#D79CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#D79CD7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D79CD7
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D79CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D79CD7 | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98ABD9
Deuteranopia (green-blind)
#A6B2D5
Tritanopia (blue-blind)
#DBA1B1
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #d79cd7; /* rgb */ color: rgb(215, 156, 215); /* oklch */ color: oklch(76.8% 0.105 326.5);
Tailwind
colors: {
custom: {
50: '#e4bae3',
500: '#d79cd7',
950: '#000000',
},
}SCSS
$custom: #d79cd7; $custom-light: #e4bae3; $custom-dark: #000000;
JSON
{
"hex": "#d79cd7",
"rgb": {
"r": 215,
"g": 156,
"b": 215
},
"hsl": {
"h": 300,
"s": 42.446,
"l": 72.745
},
"oklch": {
"l": 0.76801,
"c": 0.10477,
"h": 326.5
},
"luminance": 0.4313
}Semantic roles & 50–950 ramp
primary
#D79CD7
secondary
#DEEDDE
accent
#B63030
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#151115
muted
#848083