#DF56E2#DF56E2
#DF56E2 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.3% C 0.232 H 326.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #DF56E2 |
|---|---|
| RGB | rgb(223, 86, 226) |
| HSL | hsl(299, 71%, 61%) |
| HSV | hsv(299, 62%, 89%) |
| CMYK | cmyk(1.3%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(59.74, 70.27, -45.89) |
| CIE-LCH | lch(59.74, 83.93, 326.85°) |
| OKLab | oklab(68.29% 0.1945 -0.1269) |
| OKLCH | oklch(68.29% 0.232 326.9) |
| XYZ | xyz(47.4859, 27.8376, 74.8088) |
| Luminance | 0.2783 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 3.49
Heliotrope
#D94FF5
ΔE00 3.63
Purpleish Pink
#DF4EC8
ΔE00 4.38
Pink Purple
#EF1DE7
ΔE00 4.82
Orchid
#DA70D6
ΔE00 5.12
Bright Magenta
#FF08E8
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF56E2 #59E256
analogous
#9956E2 #DF56E2 #E2569F
triadic
#DF56E2 #E2DF56 #56E2DF
tetradic
#DF56E2 #E29956 #59E256 #569FE2
square
#DF56E2 #E29956 #59E256 #569FE2
split-complementary
#DF56E2 #9FE256 #56E299
monochromatic
#9F1CA2 #D225D6 #DF56E2 #E98AEB #F3BEF4
Accessibility & contrast
On white
3.20
#DF56E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#DF56E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DF56E2
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF56E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF56E2 | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4285E6
Deuteranopia (green-blind)
#7596DE
Tritanopia (blue-blind)
#E56995
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #df56e2; /* rgb */ color: rgb(223, 86, 226); /* oklch */ color: oklch(68.3% 0.232 326.9);
Tailwind
colors: {
custom: {
50: '#ec8eeb',
500: '#df56e2',
950: '#000000',
},
}SCSS
$custom: #df56e2; $custom-light: #ec8eeb; $custom-dark: #000000;
JSON
{
"hex": "#df56e2",
"rgb": {
"r": 223,
"g": 86,
"b": 226
},
"hsl": {
"h": 298.714,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.6829,
"c": 0.23226,
"h": 326.9
},
"luminance": 0.27835
}Semantic roles & 50–950 ramp
primary
#DF56E2
secondary
#B1E4B0
accent
#D31317
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84