#D56AF2#D56AF2
#D56AF2 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.2% C 0.214 H 318.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #D56AF2 |
|---|---|
| RGB | rgb(213, 106, 242) |
| HSL | hsl(287, 84%, 68%) |
| HSV | hsv(287, 56%, 95%) |
| CMYK | cmyk(12%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(62.40, 61.97, -50.70) |
| CIE-LCH | lch(62.40, 80.06, 320.71°) |
| OKLab | oklab(70.21% 0.1603 -0.1412) |
| OKLCH | oklch(70.21% 0.214 318.6) |
| XYZ | xyz(48.6195, 30.8669, 87.3840) |
| Luminance | 0.3086 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.99
Bright Lavender
#C760FF
ΔE00 4.33
Heliotrope
#D94FF5
ΔE00 4.34
Light Purple
#BF77F6
ΔE00 4.68
Easter Purple
#C071FE
ΔE00 4.71
Orchid
#DA70D6
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D56AF2 #87F26A
analogous
#916AF2 #D56AF2 #F26ACB
triadic
#D56AF2 #F2D56A #6AF2D5
tetradic
#D56AF2 #F2916A #87F26A #6ACBF2
square
#D56AF2 #F2916A #87F26A #6ACBF2
split-complementary
#D56AF2 #CBF26A #6AF291
monochromatic
#A712CF #C532ED #D56AF2 #E5A2F7 #F5DBFC
Accessibility & contrast
On white
2.93
#D56AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#D56AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D56AF2
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D56AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D56AF2 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B90F6
Deuteranopia (green-blind)
#719AEE
Tritanopia (blue-blind)
#D57FA4
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #d56af2; /* rgb */ color: rgb(213, 106, 242); /* oklch */ color: oklch(70.2% 0.214 318.6);
Tailwind
colors: {
custom: {
50: '#e599f7',
500: '#d56af2',
950: '#000000',
},
}SCSS
$custom: #d56af2; $custom-light: #e599f7; $custom-dark: #000000;
JSON
{
"hex": "#d56af2",
"rgb": {
"r": 213,
"g": 106,
"b": 242
},
"hsl": {
"h": 287.206,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.70205,
"c": 0.21367,
"h": 318.6
},
"luminance": 0.30865
}Semantic roles & 50–950 ramp
primary
#D56AF2
secondary
#D0F1C7
accent
#E00534
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85