#DC7EF7#DC7EF7
#DC7EF7 is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.0% C 0.191 H 318.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #DC7EF7 |
|---|---|
| RGB | rgb(220, 126, 247) |
| HSL | hsl(287, 88%, 73%) |
| HSV | hsv(287, 49%, 97%) |
| CMYK | cmyk(10.9%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(67.17, 55.03, -45.86) |
| CIE-LCH | lch(67.17, 71.63, 320.19°) |
| OKLab | oklab(73.98% 0.1429 -0.1272) |
| OKLCH | oklch(73.98% 0.191 318.3) |
| XYZ | xyz(53.7623, 36.8546, 92.2593) |
| Luminance | 0.3685 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.40
Purply Pink
#F075E6
ΔE00 5.30
Light Purple
#BF77F6
ΔE00 5.68
Orchid
#DA70D6
ΔE00 5.92
Violet Pink
#FB5FFC
ΔE00 6.09
Liliac
#C48EFD
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC7EF7 #99F77E
analogous
#A07EF7 #DC7EF7 #F77ED5
triadic
#DC7EF7 #F7DC7E #7EF7DC
tetradic
#DC7EF7 #F7A07E #99F77E #7ED5F7
square
#DC7EF7 #F7A07E #99F77E #7ED5F7
split-complementary
#DC7EF7 #D5F77E #7EF7A0
monochromatic
#BB0FEC #CC44F3 #DC7EF7 #ECB8FB #F7E2FD
Accessibility & contrast
On white
2.51
#DC7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#DC7EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC7EF7
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC7EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC7EF7 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#DC8FAF
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #dc7ef7; /* rgb */ color: rgb(220, 126, 247); /* oklch */ color: oklch(74.0% 0.191 318.3);
Tailwind
colors: {
custom: {
50: '#e9a6fa',
500: '#dc7ef7',
950: '#000000',
},
}SCSS
$custom: #dc7ef7; $custom-light: #e9a6fa; $custom-dark: #000000;
JSON
{
"hex": "#dc7ef7",
"rgb": {
"r": 220,
"g": 126,
"b": 247
},
"hsl": {
"h": 286.612,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.7398,
"c": 0.19131,
"h": 318.3
},
"luminance": 0.36853
}Semantic roles & 50–950 ramp
primary
#DC7EF7
secondary
#DDF5D6
accent
#E50134
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85