#D56CF2#D56CF2
#D56CF2 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.5% C 0.211 H 318.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D56CF2 |
|---|---|
| RGB | rgb(213, 108, 242) |
| HSL | hsl(287, 84%, 69%) |
| HSV | hsv(287, 55%, 95%) |
| CMYK | cmyk(12%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(62.75, 61.02, -50.14) |
| CIE-LCH | lch(62.75, 78.98, 320.59°) |
| OKLab | oklab(70.46% 0.1578 -0.1396) |
| OKLCH | oklch(70.46% 0.211 318.5) |
| XYZ | xyz(48.8280, 31.2840, 87.4536) |
| Luminance | 0.3128 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 4.27
Light Purple
#BF77F6
ΔE00 4.55
Bright Lavender
#C760FF
ΔE00 4.58
Easter Purple
#C071FE
ΔE00 4.69
Heliotrope
#D94FF5
ΔE00 4.73
Orchid
#DA70D6
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D56CF2 #89F26C
analogous
#926CF2 #D56CF2 #F26CCC
triadic
#D56CF2 #F2D56C #6CF2D5
tetradic
#D56CF2 #F2926C #89F26C #6CCCF2
square
#D56CF2 #F2926C #89F26C #6CCCF2
split-complementary
#D56CF2 #CCF26C #6CF292
monochromatic
#A812D1 #C534ED #D56CF2 #E5A4F7 #F5DCFC
Accessibility & contrast
On white
2.89
#D56CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#D56CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D56CF2
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D56CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D56CF2 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#739BEE
Tritanopia (blue-blind)
#D581A5
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #d56cf2; /* rgb */ color: rgb(213, 108, 242); /* oklch */ color: oklch(70.5% 0.211 318.5);
Tailwind
colors: {
custom: {
50: '#e59bf7',
500: '#d56cf2',
950: '#000000',
},
}SCSS
$custom: #d56cf2; $custom-light: #e59bf7; $custom-dark: #000000;
JSON
{
"hex": "#d56cf2",
"rgb": {
"r": 213,
"g": 108,
"b": 242
},
"hsl": {
"h": 287.015,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.70463,
"c": 0.21072,
"h": 318.5
},
"luminance": 0.31282
}Semantic roles & 50–950 ramp
primary
#D56CF2
secondary
#D2F1C9
accent
#E00535
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85