#D56FE4#D56FE4
#D56FE4 is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.1% C 0.193 H 322.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #D56FE4 |
|---|---|
| RGB | rgb(213, 111, 228) |
| HSL | hsl(292, 68%, 66%) |
| HSV | hsv(292, 51%, 89%) |
| CMYK | cmyk(6.6%, 51.3%, 0%, 10.6%) |
| CIE-LAB | lab(62.61, 56.92, -42.58) |
| CIE-LCH | lch(62.61, 71.08, 323.20°) |
| OKLab | oklab(70.14% 0.1526 -0.1177) |
| OKLCH | oklch(70.14% 0.193 322.3) |
| XYZ | xyz(47.1271, 31.1186, 76.9078) |
| Luminance | 0.3112 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.07
Purply Pink
#F075E6
ΔE00 5.21
Light Magenta
#FA5FF7
ΔE00 5.68
Orchid (survey)
#C875C4
ΔE00 5.86
Light Purple
#BF77F6
ΔE00 5.90
Violet Pink
#FB5FFC
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D56FE4 #7EE46F
analogous
#9B6FE4 #D56FE4 #E46FB9
triadic
#D56FE4 #E4D56F #6FE4D5
tetradic
#D56FE4 #E49B6F #7EE46F #6FB9E4
square
#D56FE4 #E49B6F #7EE46F #6FB9E4
split-complementary
#D56FE4 #B9E46F #6FE49B
monochromatic
#A322B6 #C63BDA #D56FE4 #E4A3EE #F3D6F7
Accessibility & contrast
On white
2.91
#D56FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#D56FE4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D56FE4
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D56FE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D56FE4 | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D90E8
Deuteranopia (green-blind)
#7D9BE1
Tritanopia (blue-blind)
#D87E9F
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #d56fe4; /* rgb */ color: rgb(213, 111, 228); /* oklch */ color: oklch(70.1% 0.193 322.3);
Tailwind
colors: {
custom: {
50: '#e49ced',
500: '#d56fe4',
950: '#000000',
},
}SCSS
$custom: #d56fe4; $custom-light: #e49ced; $custom-dark: #000000;
JSON
{
"hex": "#d56fe4",
"rgb": {
"r": 213,
"g": 111,
"b": 228
},
"hsl": {
"h": 292.308,
"s": 68.421,
"l": 66.471
},
"oklch": {
"l": 0.70139,
"c": 0.19276,
"h": 322.3
},
"luminance": 0.31116
}Semantic roles & 50–950 ramp
primary
#D56FE4
secondary
#C9EAC4
accent
#D0152D
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84