#D795CD#D795CD
#D795CD is a light, moderate purple. Relative luminance 0.404; OKLCH L 75.2% C 0.108 H 332.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #D795CD |
|---|---|
| RGB | rgb(215, 149, 205) |
| HSL | hsl(309, 45%, 71%) |
| HSV | hsv(309, 31%, 84%) |
| CMYK | cmyk(0%, 30.7%, 4.7%, 15.7%) |
| CIE-LAB | lab(69.72, 33.58, -18.79) |
| CIE-LCH | lch(69.72, 38.48, 330.78°) |
| OKLab | oklab(75.22% 0.0951 -0.0505) |
| OKLCH | oklch(75.22% 0.108 332) |
| XYZ | xyz(49.7905, 40.3517, 62.9117) |
| Luminance | 0.4035 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.38
Lavender Pink
#DD85D7
ΔE00 5.37
Lilac
#C8A2C8
ΔE00 6.05
Bubblegum Pink
#FE83CC
ΔE00 7.99
Pale Purple
#B790D4
ΔE00 8.18
Orchid (survey)
#C875C4
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D795CD #95D79F
analogous
#C095D7 #D795CD #D795AC
triadic
#D795CD #CDD795 #95CDD7
tetradic
#D795CD #D7C095 #95D79F #95ACD7
square
#D795CD #D7C095 #95D79F #95ACD7
split-complementary
#D795CD #ACD795 #95D7C0
monochromatic
#AF429F #C669B8 #D795CD #E8C1E2 #F7E9F5
Accessibility & contrast
On white
2.32
#D795CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#D795CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D795CD
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D795CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D795CD | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94A5CF
Deuteranopia (green-blind)
#A4AECB
Tritanopia (blue-blind)
#DD99A9
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #d795cd; /* rgb */ color: rgb(215, 149, 205); /* oklch */ color: oklch(75.2% 0.108 332.0);
Tailwind
colors: {
custom: {
50: '#e4b5dc',
500: '#d795cd',
950: '#000000',
},
}SCSS
$custom: #d795cd; $custom-light: #e4b5dc; $custom-dark: #000000;
JSON
{
"hex": "#d795cd",
"rgb": {
"r": 215,
"g": 149,
"b": 205
},
"hsl": {
"h": 309.091,
"s": 45.205,
"l": 71.373
},
"oklch": {
"l": 0.7522,
"c": 0.10766,
"h": 332
},
"luminance": 0.4035
}Semantic roles & 50–950 ramp
primary
#D795CD
secondary
#DBECDE
accent
#B8422D
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083