#D56EF2#D56EF2
#D56EF2 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.7% C 0.208 H 318.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #D56EF2 |
|---|---|
| RGB | rgb(213, 110, 242) |
| HSL | hsl(287, 84%, 69%) |
| HSV | hsv(287, 55%, 95%) |
| CMYK | cmyk(12%, 54.5%, 0%, 5.1%) |
| CIE-LAB | lab(63.10, 60.07, -49.58) |
| CIE-LCH | lch(63.10, 77.89, 320.47°) |
| OKLab | oklab(70.72% 0.1553 -0.138) |
| OKLCH | oklch(70.72% 0.208 318.4) |
| XYZ | xyz(49.0413, 31.7107, 87.5247) |
| Luminance | 0.3171 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.44
Bright Lilac
#C95EFB
ΔE00 4.58
Easter Purple
#C071FE
ΔE00 4.70
Bright Lavender
#C760FF
ΔE00 4.85
Heliotrope
#D94FF5
ΔE00 5.11
Orchid
#DA70D6
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D56EF2 #8BF26E
analogous
#936EF2 #D56EF2 #F26ECD
triadic
#D56EF2 #F2D56E #6EF2D5
tetradic
#D56EF2 #F2936E #8BF26E #6ECDF2
square
#D56EF2 #F2936E #8BF26E #6ECDF2
split-complementary
#D56EF2 #CDF26E #6EF293
monochromatic
#A913D3 #C536ED #D56EF2 #E5A6F7 #F6DEFC
Accessibility & contrast
On white
2.86
#D56EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#D56EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D56EF2
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D56EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D56EF2 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#D582A6
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #d56ef2; /* rgb */ color: rgb(213, 110, 242); /* oklch */ color: oklch(70.7% 0.208 318.4);
Tailwind
colors: {
custom: {
50: '#e59cf7',
500: '#d56ef2',
950: '#000000',
},
}SCSS
$custom: #d56ef2; $custom-light: #e59cf7; $custom-dark: #000000;
JSON
{
"hex": "#d56ef2",
"rgb": {
"r": 213,
"g": 110,
"b": 242
},
"hsl": {
"h": 286.818,
"s": 83.544,
"l": 69.02
},
"oklch": {
"l": 0.70724,
"c": 0.20775,
"h": 318.4
},
"luminance": 0.31709
}Semantic roles & 50–950 ramp
primary
#D56EF2
secondary
#D3F1CB
accent
#E00636
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85