#DC7CD2#DC7CD2
#DC7CD2 is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.0% C 0.159 H 331.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #DC7CD2 |
|---|---|
| RGB | rgb(220, 124, 210) |
| HSL | hsl(306, 58%, 67%) |
| HSV | hsv(306, 44%, 86%) |
| CMYK | cmyk(0%, 43.6%, 4.5%, 13.7%) |
| CIE-LAB | lab(65.19, 49.20, -28.45) |
| CIE-LCH | lch(65.19, 56.83, 329.96°) |
| OKLab | oklab(71.99% 0.1394 -0.0773) |
| OKLCH | oklch(71.99% 0.159 331) |
| XYZ | xyz(48.3552, 34.2867, 65.0313) |
| Luminance | 0.3428 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.06
Orchid
#DA70D6
ΔE00 3.12
Orchid (survey)
#C875C4
ΔE00 4.07
Purply Pink
#F075E6
ΔE00 4.15
Violet (CSS)
#EE82EE
ΔE00 4.81
Candy Pink
#FF63E9
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC7CD2 #7CDC86
analogous
#B67CDC #DC7CD2 #DC7CA2
triadic
#DC7CD2 #D2DC7C #7CD2DC
tetradic
#DC7CD2 #DCB67C #7CDC86 #7CA2DC
square
#DC7CD2 #DCB67C #7CDC86 #7CA2DC
split-complementary
#DC7CD2 #A2DC7C #7CDCB6
monochromatic
#AF2FA2 #CF4CC1 #DC7CD2 #E9ACE3 #F6DDF3
Accessibility & contrast
On white
2.67
#DC7CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#DC7CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC7CD2
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC7CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC7CD2 | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7896D5
Deuteranopia (green-blind)
#92A3CF
Tritanopia (blue-blind)
#E3839D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #dc7cd2; /* rgb */ color: rgb(220, 124, 210); /* oklch */ color: oklch(72.0% 0.159 331.0);
Tailwind
colors: {
custom: {
50: '#e9a4e0',
500: '#dc7cd2',
950: '#000000',
},
}SCSS
$custom: #dc7cd2; $custom-light: #e9a4e0; $custom-dark: #000000;
JSON
{
"hex": "#dc7cd2",
"rgb": {
"r": 220,
"g": 124,
"b": 210
},
"hsl": {
"h": 306.25,
"s": 57.831,
"l": 67.451
},
"oklch": {
"l": 0.71988,
"c": 0.15936,
"h": 331
},
"luminance": 0.34284
}Semantic roles & 50–950 ramp
primary
#DC7CD2
secondary
#CBE9CE
accent
#C53120
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83