#E766FE#E766FE
#E766FE is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.6% C 0.239 H 321.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #E766FE |
|---|---|
| RGB | rgb(231, 102, 254) |
| HSL | hsl(291, 99%, 70%) |
| HSV | hsv(291, 60%, 100%) |
| CMYK | cmyk(9.1%, 59.8%, 0%, 0.4%) |
| CIE-LAB | lab(64.68, 70.38, -53.54) |
| CIE-LCH | lch(64.68, 88.43, 322.74°) |
| OKLab | oklab(72.56% 0.1862 -0.149) |
| OKLCH | oklch(72.56% 0.239 321.3) |
| XYZ | xyz(55.5938, 33.6501, 97.3135) |
| Luminance | 0.3365 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.21
Light Magenta
#FA5FF7
ΔE00 3.47
Heliotrope
#D94FF5
ΔE00 5.10
Bright Lilac
#C95EFB
ΔE00 5.72
Purply Pink
#F075E6
ΔE00 5.83
Candy Pink
#FF63E9
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E766FE #7DFE66
analogous
#9B66FE #E766FE #FE66C9
triadic
#E766FE #FEE766 #66FEE7
tetradic
#E766FE #FE9B66 #7DFE66 #66C9FE
square
#E766FE #FE9B66 #7DFE66 #66C9FE
split-complementary
#E766FE #C9FE66 #66FE9B
monochromatic
#C502E8 #DD29FE #E766FE #F1A3FE #FAE0FF
Accessibility & contrast
On white
2.72
#E766FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#E766FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E766FE
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E766FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E766FE | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4494FF
Deuteranopia (green-blind)
#76A2FA
Tritanopia (blue-blind)
#E97EA9
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #e766fe; /* rgb */ color: rgb(231, 102, 254); /* oklch */ color: oklch(72.6% 0.239 321.3);
Tailwind
colors: {
custom: {
50: '#f299ff',
500: '#e766fe',
950: '#000000',
},
}SCSS
$custom: #e766fe; $custom-light: #f299ff; $custom-dark: #000000;
JSON
{
"hex": "#e766fe",
"rgb": {
"r": 231,
"g": 102,
"b": 254
},
"hsl": {
"h": 290.921,
"s": 98.701,
"l": 69.804
},
"oklch": {
"l": 0.72559,
"c": 0.23852,
"h": 321.3
},
"luminance": 0.33647
}Semantic roles & 50–950 ramp
primary
#E766FE
secondary
#D1F5CA
accent
#E60023
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#170E18
muted
#857E86