#D56FE5#D56FE5
#D56FE5 is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.2% C 0.194 H 322.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #D56FE5 |
|---|---|
| RGB | rgb(213, 111, 229) |
| HSL | hsl(292, 69%, 67%) |
| HSV | hsv(292, 52%, 90%) |
| CMYK | cmyk(7%, 51.5%, 0%, 10.2%) |
| CIE-LAB | lab(62.65, 57.10, -43.07) |
| CIE-LCH | lch(62.65, 71.53, 322.98°) |
| OKLab | oklab(70.19% 0.1527 -0.1191) |
| OKLCH | oklch(70.19% 0.194 322) |
| XYZ | xyz(47.2663, 31.1743, 77.6411) |
| Luminance | 0.3117 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.23
Purply Pink
#F075E6
ΔE00 5.27
Light Magenta
#FA5FF7
ΔE00 5.66
Light Purple
#BF77F6
ΔE00 5.77
Violet Pink
#FB5FFC
ΔE00 5.89
Heliotrope
#D94FF5
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D56FE5 #7FE56F
analogous
#9A6FE5 #D56FE5 #E56FBA
triadic
#D56FE5 #E5D56F #6FE5D5
tetradic
#D56FE5 #E59A6F #7FE56F #6FBAE5
square
#D56FE5 #E59A6F #7FE56F #6FBAE5
split-complementary
#D56FE5 #BAE56F #6FE59A
monochromatic
#A421B8 #C63BDC #D56FE5 #E4A3EE #F3D7F8
Accessibility & contrast
On white
2.90
#D56FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#D56FE5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D56FE5
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D56FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D56FE5 | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C90E9
Deuteranopia (green-blind)
#7C9CE2
Tritanopia (blue-blind)
#D87FA0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #d56fe5; /* rgb */ color: rgb(213, 111, 229); /* oklch */ color: oklch(70.2% 0.194 322.0);
Tailwind
colors: {
custom: {
50: '#e49ced',
500: '#d56fe5',
950: '#000000',
},
}SCSS
$custom: #d56fe5; $custom-light: #e49ced; $custom-dark: #000000;
JSON
{
"hex": "#d56fe5",
"rgb": {
"r": 213,
"g": 111,
"b": 229
},
"hsl": {
"h": 291.864,
"s": 69.412,
"l": 66.667
},
"oklch": {
"l": 0.70189,
"c": 0.19371,
"h": 322
},
"luminance": 0.31172
}Semantic roles & 50–950 ramp
primary
#D56FE5
secondary
#CAEBC5
accent
#D1142E
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84