#DC7EF2#DC7EF2
#DC7EF2 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.7% C 0.186 H 319.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #DC7EF2 |
|---|---|
| RGB | rgb(220, 126, 242) |
| HSL | hsl(289, 82%, 72%) |
| HSV | hsv(289, 48%, 95%) |
| CMYK | cmyk(9.1%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(66.94, 54.05, -43.48) |
| CIE-LCH | lch(66.94, 69.37, 321.19°) |
| OKLab | oklab(73.74% 0.1423 -0.1203) |
| OKLCH | oklch(73.74% 0.186 319.8) |
| XYZ | xyz(53.0011, 36.5502, 88.2502) |
| Luminance | 0.3655 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.87
Purply Pink
#F075E6
ΔE00 4.70
Orchid
#DA70D6
ΔE00 5.21
Lavender Pink
#DD85D7
ΔE00 5.73
Violet Pink
#FB5FFC
ΔE00 6.07
Light Purple
#BF77F6
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC7EF2 #94F27E
analogous
#A27EF2 #DC7EF2 #F27ECE
triadic
#DC7EF2 #F2DC7E #7EF2DC
tetradic
#DC7EF2 #F2A27E #94F27E #7ECEF2
square
#DC7EF2 #F2A27E #94F27E #7ECEF2
split-complementary
#DC7EF2 #CEF27E #7EF2A2
monochromatic
#B916DF #CD46EC #DC7EF2 #EBB6F8 #F7E3FC
Accessibility & contrast
On white
2.53
#DC7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#DC7EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC7EF2
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC7EF2 | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#DD8EAD
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #dc7ef2; /* rgb */ color: rgb(220, 126, 242); /* oklch */ color: oklch(73.7% 0.186 319.8);
Tailwind
colors: {
custom: {
50: '#e9a6f7',
500: '#dc7ef2',
950: '#000000',
},
}SCSS
$custom: #dc7ef2; $custom-light: #e9a6f7; $custom-dark: #000000;
JSON
{
"hex": "#dc7ef2",
"rgb": {
"r": 220,
"g": 126,
"b": 242
},
"hsl": {
"h": 288.621,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.73735,
"c": 0.18629,
"h": 319.8
},
"luminance": 0.36548
}Semantic roles & 50–950 ramp
primary
#DC7EF2
secondary
#DCF4D7
accent
#DE0730
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85