#D366EC#D366EC
#D366EC is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.1% C 0.213 H 319.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #D366EC |
|---|---|
| RGB | rgb(211, 102, 236) |
| HSL | hsl(289, 78%, 66%) |
| HSV | hsv(289, 57%, 93%) |
| CMYK | cmyk(10.6%, 56.8%, 0%, 7.5%) |
| CIE-LAB | lab(61.14, 62.19, -49.37) |
| CIE-LCH | lch(61.14, 79.40, 321.56°) |
| OKLab | oklab(69.14% 0.1627 -0.1374) |
| OKLCH | oklch(69.14% 0.213 319.8) |
| XYZ | xyz(46.7538, 29.4098, 82.5545) |
| Luminance | 0.2941 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.69
Bright Lilac
#C95EFB
ΔE00 3.81
Bright Lavender
#C760FF
ΔE00 4.34
Orchid
#DA70D6
ΔE00 5.23
Easter Purple
#C071FE
ΔE00 5.24
Light Purple
#BF77F6
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D366EC #7FEC66
analogous
#9066EC #D366EC #EC66C2
triadic
#D366EC #ECD366 #66ECD3
tetradic
#D366EC #EC9066 #7FEC66 #66C2EC
square
#D366EC #EC9066 #7FEC66 #66C2EC
split-complementary
#D366EC #C2EC66 #66EC90
monochromatic
#A018C0 #C330E5 #D366EC #E39CF3 #F2D3FA
Accessibility & contrast
On white
3.05
#D366EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#D366EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D366EC
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D366EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D366EC | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#D47BA0
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #d366ec; /* rgb */ color: rgb(211, 102, 236); /* oklch */ color: oklch(69.1% 0.213 319.8);
Tailwind
colors: {
custom: {
50: '#e397f3',
500: '#d366ec',
950: '#000000',
},
}SCSS
$custom: #d366ec; $custom-light: #e397f3; $custom-dark: #000000;
JSON
{
"hex": "#d366ec",
"rgb": {
"r": 211,
"g": 102,
"b": 236
},
"hsl": {
"h": 288.806,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.69136,
"c": 0.21291,
"h": 319.8
},
"luminance": 0.29408
}Semantic roles & 50–950 ramp
primary
#D366EC
secondary
#C9EDC1
accent
#DA0B32
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85