#DC7CF2#DC7CF2
#DC7CF2 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.5% C 0.189 H 319.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #DC7CF2 |
|---|---|
| RGB | rgb(220, 124, 242) |
| HSL | hsl(289, 82%, 72%) |
| HSV | hsv(289, 49%, 95%) |
| CMYK | cmyk(9.1%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(66.55, 55.06, -44.08) |
| CIE-LCH | lch(66.55, 70.53, 321.32°) |
| OKLab | oklab(73.45% 0.145 -0.122) |
| OKLCH | oklch(73.45% 0.189 319.9) |
| XYZ | xyz(52.7479, 36.0438, 88.1658) |
| Luminance | 0.3604 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.05
Purply Pink
#F075E6
ΔE00 4.65
Orchid
#DA70D6
ΔE00 5.04
Violet Pink
#FB5FFC
ΔE00 5.79
Light Magenta
#FA5FF7
ΔE00 5.79
Light Purple
#BF77F6
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC7CF2 #92F27C
analogous
#A17CF2 #DC7CF2 #F27CCD
triadic
#DC7CF2 #F2DC7C #7CF2DC
tetradic
#DC7CF2 #F2A17C #92F27C #7CCDF2
square
#DC7CF2 #F2A17C #92F27C #7CCDF2
split-complementary
#DC7CF2 #CDF27C #7CF2A1
monochromatic
#B816DE #CD44EC #DC7CF2 #EBB4F8 #F8E3FC
Accessibility & contrast
On white
2.56
#DC7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#DC7CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC7CF2
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC7CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC7CF2 | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#85A5EF
Tritanopia (blue-blind)
#DD8CAC
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #dc7cf2; /* rgb */ color: rgb(220, 124, 242); /* oklch */ color: oklch(73.5% 0.189 319.9);
Tailwind
colors: {
custom: {
50: '#e9a5f7',
500: '#dc7cf2',
950: '#000000',
},
}SCSS
$custom: #dc7cf2; $custom-light: #e9a5f7; $custom-dark: #000000;
JSON
{
"hex": "#dc7cf2",
"rgb": {
"r": 220,
"g": 124,
"b": 242
},
"hsl": {
"h": 288.814,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.7345,
"c": 0.18948,
"h": 319.9
},
"luminance": 0.36042
}Semantic roles & 50–950 ramp
primary
#DC7CF2
secondary
#DCF4D6
accent
#DE072F
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85