#D766EF#D766EF
#D766EF is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.8% C 0.218 H 320.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #D766EF |
|---|---|
| RGB | rgb(215, 102, 239) |
| HSL | hsl(289, 81%, 67%) |
| HSV | hsv(289, 57%, 94%) |
| CMYK | cmyk(10%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(61.81, 63.75, -49.94) |
| CIE-LCH | lch(61.81, 80.98, 321.93°) |
| OKLab | oklab(69.78% 0.1674 -0.1389) |
| OKLCH | oklch(69.78% 0.218 320.3) |
| XYZ | xyz(48.3538, 30.1840, 84.9237) |
| Luminance | 0.3018 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.76
Bright Lilac
#C95EFB
ΔE00 4.07
Bright Lavender
#C760FF
ΔE00 4.56
Orchid
#DA70D6
ΔE00 5.19
Light Magenta
#FA5FF7
ΔE00 5.39
Easter Purple
#C071FE
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D766EF #7EEF66
analogous
#9366EF #D766EF #EF66C3
triadic
#D766EF #EFD766 #66EFD7
tetradic
#D766EF #EF9366 #7EEF66 #66C3EF
square
#D766EF #EF9366 #7EEF66 #66C3EF
split-complementary
#D766EF #C3EF66 #66EF93
monochromatic
#A715C6 #C92FE9 #D766EF #E59DF5 #F4D5FB
Accessibility & contrast
On white
2.98
#D766EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#D766EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D766EF
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D766EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D766EF | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#7299EB
Tritanopia (blue-blind)
#D87BA1
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #d766ef; /* rgb */ color: rgb(215, 102, 239); /* oklch */ color: oklch(69.8% 0.218 320.3);
Tailwind
colors: {
custom: {
50: '#e697f5',
500: '#d766ef',
950: '#000000',
},
}SCSS
$custom: #d766ef; $custom-light: #e697f5; $custom-dark: #000000;
JSON
{
"hex": "#d766ef",
"rgb": {
"r": 215,
"g": 102,
"b": 239
},
"hsl": {
"h": 289.489,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.69784,
"c": 0.21757,
"h": 320.3
},
"luminance": 0.30182
}Semantic roles & 50–950 ramp
primary
#D766EF
secondary
#CAEEC2
accent
#DD082D
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85