#D266EC#D266EC
#D266EC is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.0% C 0.212 H 319.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #D266EC |
|---|---|
| RGB | rgb(210, 102, 236) |
| HSL | hsl(288, 78%, 66%) |
| HSV | hsv(288, 57%, 93%) |
| CMYK | cmyk(11%, 56.8%, 0%, 7.5%) |
| CIE-LAB | lab(61.01, 61.94, -49.58) |
| CIE-LCH | lch(61.01, 79.34, 321.32°) |
| OKLab | oklab(69.02% 0.1615 -0.138) |
| OKLCH | oklch(69.02% 0.212 319.5) |
| XYZ | xyz(46.4681, 29.2625, 82.5411) |
| Luminance | 0.2926 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.67
Bright Lilac
#C95EFB
ΔE00 3.67
Bright Lavender
#C760FF
ΔE00 4.20
Easter Purple
#C071FE
ΔE00 5.11
Light Purple
#BF77F6
ΔE00 5.14
Orchid
#DA70D6
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D266EC #80EC66
analogous
#8F66EC #D266EC #EC66C3
triadic
#D266EC #ECD266 #66ECD2
tetradic
#D266EC #EC8F66 #80EC66 #66C3EC
square
#D266EC #EC8F66 #80EC66 #66C3EC
split-complementary
#D266EC #C3EC66 #66EC8F
monochromatic
#9F18C0 #C230E5 #D266EC #E29CF3 #F2D3FA
Accessibility & contrast
On white
3.06
#D266EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.85
#D266EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D266EC
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D266EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D266EC | 1.00 | 3.06 | 6.85 | 6.85 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#D37BA0
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d266ec; /* rgb */ color: rgb(210, 102, 236); /* oklch */ color: oklch(69.0% 0.212 319.5);
Tailwind
colors: {
custom: {
50: '#e397f3',
500: '#d266ec',
950: '#000000',
},
}SCSS
$custom: #d266ec; $custom-light: #e397f3; $custom-dark: #000000;
JSON
{
"hex": "#d266ec",
"rgb": {
"r": 210,
"g": 102,
"b": 236
},
"hsl": {
"h": 288.358,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.69015,
"c": 0.21246,
"h": 319.5
},
"luminance": 0.29261
}Semantic roles & 50–950 ramp
primary
#D266EC
secondary
#CAEDC1
accent
#DA0B33
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85