#DC7EF8#DC7EF8
#DC7EF8 is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.0% C 0.192 H 318.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #DC7EF8 |
|---|---|
| RGB | rgb(220, 126, 248) |
| HSL | hsl(286, 90%, 73%) |
| HSV | hsv(286, 49%, 97%) |
| CMYK | cmyk(11.3%, 49.2%, 0%, 2.7%) |
| CIE-LAB | lab(67.21, 55.22, -46.34) |
| CIE-LCH | lch(67.21, 72.09, 320.00°) |
| OKLab | oklab(74.03% 0.1431 -0.1285) |
| OKLCH | oklch(74.03% 0.192 318.1) |
| XYZ | xyz(53.9170, 36.9165, 93.0742) |
| Luminance | 0.3691 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.51
Purply Pink
#F075E6
ΔE00 5.42
Light Purple
#BF77F6
ΔE00 5.62
Liliac
#C48EFD
ΔE00 6.03
Orchid
#DA70D6
ΔE00 6.06
Violet Pink
#FB5FFC
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC7EF8 #9AF87E
analogous
#9F7EF8 #DC7EF8 #F87ED7
triadic
#DC7EF8 #F8DC7E #7EF8DC
tetradic
#DC7EF8 #F89F7E #9AF87E #7ED7F8
square
#DC7EF8 #F89F7E #9AF87E #7ED7F8
split-complementary
#DC7EF8 #D7F87E #7EF89F
monochromatic
#BB0DEF #CC44F5 #DC7EF8 #ECB8FB #F7E2FD
Accessibility & contrast
On white
2.51
#DC7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#DC7EF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC7EF8
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC7EF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC7EF8 | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#83A7F5
Tritanopia (blue-blind)
#DC8FB0
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #dc7ef8; /* rgb */ color: rgb(220, 126, 248); /* oklch */ color: oklch(74.0% 0.192 318.1);
Tailwind
colors: {
custom: {
50: '#e9a6fb',
500: '#dc7ef8',
950: '#000000',
},
}SCSS
$custom: #dc7ef8; $custom-light: #e9a6fb; $custom-dark: #000000;
JSON
{
"hex": "#dc7ef8",
"rgb": {
"r": 220,
"g": 126,
"b": 248
},
"hsl": {
"h": 286.23,
"s": 89.706,
"l": 73.333
},
"oklch": {
"l": 0.7403,
"c": 0.19232,
"h": 318.1
},
"luminance": 0.36915
}Semantic roles & 50–950 ramp
primary
#DC7EF8
secondary
#DDF6D5
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85