#D566FC#D566FC
#D566FC is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.3% C 0.229 H 316.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #D566FC |
|---|---|
| RGB | rgb(213, 102, 252) |
| HSL | hsl(284, 96%, 69%) |
| HSV | hsv(284, 60%, 99%) |
| CMYK | cmyk(15.5%, 59.5%, 0%, 1.2%) |
| CIE-LAB | lab(62.24, 65.76, -56.47) |
| CIE-LCH | lch(62.24, 86.68, 319.34°) |
| OKLab | oklab(70.26% 0.1656 -0.158) |
| OKLCH | oklch(70.26% 0.229 316.3) |
| XYZ | xyz(49.7600, 30.6789, 95.3770) |
| Luminance | 0.3068 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.88
Bright Lavender
#C760FF
ΔE00 3.09
Heliotrope
#D94FF5
ΔE00 3.81
Easter Purple
#C071FE
ΔE00 4.00
Light Purple
#BF77F6
ΔE00 4.58
Light Urple
#B36FF6
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D566FC #8DFC66
analogous
#8A66FC #D566FC #FC66D8
triadic
#D566FC #FCD566 #66FCD5
tetradic
#D566FC #FC8A66 #8DFC66 #66D8FC
square
#D566FC #FC8A66 #8DFC66 #66D8FC
split-complementary
#D566FC #D8FC66 #66FC8A
monochromatic
#A904E3 #C52AFB #D566FC #E5A2FD #F6DEFE
Accessibility & contrast
On white
2.94
#D566FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#D566FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D566FC
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D566FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D566FC | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A90FF
Deuteranopia (green-blind)
#679AF8
Tritanopia (blue-blind)
#D380A8
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #d566fc; /* rgb */ color: rgb(213, 102, 252); /* oklch */ color: oklch(70.3% 0.229 316.3);
Tailwind
colors: {
custom: {
50: '#e597fe',
500: '#d566fc',
950: '#000000',
},
}SCSS
$custom: #d566fc; $custom-light: #e597fe; $custom-dark: #000000;
JSON
{
"hex": "#d566fc",
"rgb": {
"r": 213,
"g": 102,
"b": 252
},
"hsl": {
"h": 284.4,
"s": 96.154,
"l": 69.412
},
"oklch": {
"l": 0.70259,
"c": 0.22891,
"h": 316.3
},
"luminance": 0.30677
}Semantic roles & 50–950 ramp
primary
#D566FC
secondary
#D5F5C9
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86