#DC7CF0#DC7CF0
#DC7CF0 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.4% C 0.188 H 320.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #DC7CF0 |
|---|---|
| RGB | rgb(220, 124, 240) |
| HSL | hsl(290, 79%, 71%) |
| HSV | hsv(290, 48%, 94%) |
| CMYK | cmyk(8.3%, 48.3%, 0%, 5.9%) |
| CIE-LAB | lab(66.46, 54.67, -43.12) |
| CIE-LCH | lch(66.46, 69.63, 321.74°) |
| OKLab | oklab(73.35% 0.1447 -0.1192) |
| OKLCH | oklch(73.35% 0.188 320.5) |
| XYZ | xyz(52.4491, 35.9243, 86.5925) |
| Luminance | 0.3592 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.87
Purply Pink
#F075E6
ΔE00 4.42
Orchid
#DA70D6
ΔE00 4.75
Lavender Pink
#DD85D7
ΔE00 5.62
Light Magenta
#FA5FF7
ΔE00 5.77
Violet Pink
#FB5FFC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC7CF0 #90F07C
analogous
#A27CF0 #DC7CF0 #F07CCA
triadic
#DC7CF0 #F0DC7C #7CF0DC
tetradic
#DC7CF0 #F0A27C #90F07C #7CCAF0
square
#DC7CF0 #F0A27C #90F07C #7CCAF0
split-complementary
#DC7CF0 #CAF07C #7CF0A2
monochromatic
#B819D9 #CD45EA #DC7CF0 #EBB3F6 #F8E4FC
Accessibility & contrast
On white
2.57
#DC7CF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#DC7CF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC7CF0
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC7CF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC7CF0 | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699BF4
Deuteranopia (green-blind)
#86A5ED
Tritanopia (blue-blind)
#DE8BAB
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #dc7cf0; /* rgb */ color: rgb(220, 124, 240); /* oklch */ color: oklch(73.4% 0.188 320.5);
Tailwind
colors: {
custom: {
50: '#e9a5f5',
500: '#dc7cf0',
950: '#000000',
},
}SCSS
$custom: #dc7cf0; $custom-light: #e9a5f5; $custom-dark: #000000;
JSON
{
"hex": "#dc7cf0",
"rgb": {
"r": 220,
"g": 124,
"b": 240
},
"hsl": {
"h": 289.655,
"s": 79.452,
"l": 71.373
},
"oklch": {
"l": 0.73352,
"c": 0.1875,
"h": 320.5
},
"luminance": 0.35922
}Semantic roles & 50–950 ramp
primary
#DC7CF0
secondary
#DAF3D5
accent
#DC0A2E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85