#E766EB#E766EB
#E766EB is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.6% C 0.222 H 326.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #E766EB |
|---|---|
| RGB | rgb(231, 102, 235) |
| HSL | hsl(298, 77%, 66%) |
| HSV | hsv(298, 57%, 92%) |
| CMYK | cmyk(1.7%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(63.75, 67.03, -44.52) |
| CIE-LCH | lch(63.75, 80.47, 326.41°) |
| OKLab | oklab(71.57% 0.185 -0.1229) |
| OKLCH | oklch(71.57% 0.222 326.4) |
| XYZ | xyz(52.7008, 32.4929, 82.0771) |
| Luminance | 0.3249 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.86
Violet Pink
#FB5FFC
ΔE00 3.22
Orchid
#DA70D6
ΔE00 3.80
Purply Pink
#F075E6
ΔE00 3.94
Candy Pink
#FF63E9
ΔE00 4.12
Heliotrope
#D94FF5
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E766EB #6AEB66
analogous
#A466EB #E766EB #EB66AD
triadic
#E766EB #EBE766 #66EBE7
tetradic
#E766EB #EBA466 #6AEB66 #66ADEB
square
#E766EB #EBA466 #6AEB66 #66ADEB
split-complementary
#E766EB #ADEB66 #66EBA4
monochromatic
#B919BE #DF30E4 #E766EB #EF9CF2 #F8D2F9
Accessibility & contrast
On white
2.80
#E766EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.50
#E766EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E766EB
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E766EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E766EB | 1.00 | 2.80 | 7.50 | 7.50 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#ED779F
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #e766eb; /* rgb */ color: rgb(231, 102, 235); /* oklch */ color: oklch(71.6% 0.222 326.4);
Tailwind
colors: {
custom: {
50: '#f298f2',
500: '#e766eb',
950: '#000000',
},
}SCSS
$custom: #e766eb; $custom-light: #f298f2; $custom-dark: #000000;
JSON
{
"hex": "#e766eb",
"rgb": {
"r": 231,
"g": 102,
"b": 235
},
"hsl": {
"h": 298.195,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.71574,
"c": 0.2221,
"h": 326.4
},
"luminance": 0.3249
}Semantic roles & 50–950 ramp
primary
#E766EB
secondary
#C2ECC1
accent
#D90C13
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170E17
muted
#857E85