#DC7CFC#DC7CFC
#DC7CFC is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.9% C 0.199 H 317.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #DC7CFC |
|---|---|
| RGB | rgb(220, 124, 252) |
| HSL | hsl(285, 96%, 74%) |
| HSV | hsv(285, 51%, 99%) |
| CMYK | cmyk(12.7%, 50.8%, 0%, 1.2%) |
| CIE-LAB | lab(67.02, 57.01, -48.83) |
| CIE-LCH | lch(67.02, 75.06, 319.42°) |
| OKLab | oklab(73.95% 0.1462 -0.1357) |
| OKLCH | oklch(73.95% 0.199 317.1) |
| XYZ | xyz(54.2910, 36.6610, 96.2930) |
| Luminance | 0.3666 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 5.13
Light Purple
#BF77F6
ΔE00 5.26
Purply Pink
#F075E6
ΔE00 5.90
Easter Purple
#C071FE
ΔE00 5.94
Violet Pink
#FB5FFC
ΔE00 5.97
Liliac
#C48EFD
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC7CFC #9CFC7C
analogous
#9C7CFC #DC7CFC #FC7CDC
triadic
#DC7CFC #FCDC7C #7CFCDC
tetradic
#DC7CFC #FC9C7C #9CFC7C #7CDCFC
square
#DC7CFC #FC9C7C #9CFC7C #7CDCFC
split-complementary
#DC7CFC #DCFC7C #7CFC9C
monochromatic
#BB06F8 #CC40FB #DC7CFC #ECB8FD #F7E1FE
Accessibility & contrast
On white
2.52
#DC7CFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#DC7CFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC7CFC
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC7CFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC7CFC | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#80A6F9
Tritanopia (blue-blind)
#DB8FB1
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #dc7cfc; /* rgb */ color: rgb(220, 124, 252); /* oklch */ color: oklch(73.9% 0.199 317.1);
Tailwind
colors: {
custom: {
50: '#e9a5fe',
500: '#dc7cfc',
950: '#000000',
},
}SCSS
$custom: #dc7cfc; $custom-light: #e9a5fe; $custom-dark: #000000;
JSON
{
"hex": "#dc7cfc",
"rgb": {
"r": 220,
"g": 124,
"b": 252
},
"hsl": {
"h": 285,
"s": 95.522,
"l": 73.725
},
"oklch": {
"l": 0.73949,
"c": 0.19948,
"h": 317.1
},
"luminance": 0.36659
}Semantic roles & 50–950 ramp
primary
#DC7CFC
secondary
#DDF7D4
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86