#D366F2#D366F2
#D366F2 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.5% C 0.219 H 318.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #D366F2 |
|---|---|
| RGB | rgb(211, 102, 242) |
| HSL | hsl(287, 84%, 67%) |
| HSV | hsv(287, 58%, 95%) |
| CMYK | cmyk(12.8%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(61.45, 63.34, -52.21) |
| CIE-LCH | lch(61.45, 82.08, 320.50°) |
| OKLab | oklab(69.46% 0.163 -0.1457) |
| OKLCH | oklch(69.46% 0.219 318.2) |
| XYZ | xyz(47.6402, 29.7643, 87.2228) |
| Luminance | 0.2976 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.17
Heliotrope
#D94FF5
ΔE00 3.54
Bright Lavender
#C760FF
ΔE00 3.62
Easter Purple
#C071FE
ΔE00 4.56
Light Purple
#BF77F6
ΔE00 4.79
Light Urple
#B36FF6
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D366F2 #85F266
analogous
#8D66F2 #D366F2 #F266CB
triadic
#D366F2 #F2D366 #66F2D3
tetradic
#D366F2 #F28D66 #85F266 #66CBF2
square
#D366F2 #F28D66 #85F266 #66CBF2
split-complementary
#D366F2 #CBF266 #66F28D
monochromatic
#A311CC #C32EED #D366F2 #E39EF7 #F3D7FC
Accessibility & contrast
On white
3.02
#D366F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#D366F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D366F2
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D366F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D366F2 | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#6C98EE
Tritanopia (blue-blind)
#D37DA3
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #d366f2; /* rgb */ color: rgb(211, 102, 242); /* oklch */ color: oklch(69.5% 0.219 318.2);
Tailwind
colors: {
custom: {
50: '#e397f7',
500: '#d366f2',
950: '#000000',
},
}SCSS
$custom: #d366f2; $custom-light: #e397f7; $custom-dark: #000000;
JSON
{
"hex": "#d366f2",
"rgb": {
"r": 211,
"g": 102,
"b": 242
},
"hsl": {
"h": 286.714,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.69462,
"c": 0.21858,
"h": 318.2
},
"luminance": 0.29762
}Semantic roles & 50–950 ramp
primary
#D366F2
secondary
#CEF0C4
accent
#E10535
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85