#E766F1#E766F1
#E766F1 is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.9% C 0.227 H 324.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #E766F1 |
|---|---|
| RGB | rgb(231, 102, 241) |
| HSL | hsl(296, 83%, 67%) |
| HSV | hsv(296, 58%, 95%) |
| CMYK | cmyk(4.1%, 57.7%, 0%, 5.5%) |
| CIE-LAB | lab(64.04, 68.06, -47.40) |
| CIE-LCH | lch(64.04, 82.94, 325.15°) |
| OKLab | oklab(71.88% 0.1855 -0.1312) |
| OKLCH | oklch(71.88% 0.227 324.7) |
| XYZ | xyz(53.5822, 32.8455, 86.7195) |
| Luminance | 0.3284 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.76
Violet Pink
#FB5FFC
ΔE00 2.93
Purply Pink
#F075E6
ΔE00 4.45
Orchid
#DA70D6
ΔE00 4.57
Candy Pink
#FF63E9
ΔE00 4.60
Heliotrope
#D94FF5
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E766F1 #70F166
analogous
#A166F1 #E766F1 #F166B6
triadic
#E766F1 #F1E766 #66F1E7
tetradic
#E766F1 #F1A166 #70F166 #66B6F1
square
#E766F1 #F1A166 #70F166 #66B6F1
split-complementary
#E766F1 #B6F166 #66F1A1
monochromatic
#BD12CA #DE2EEC #E766F1 #F09EF6 #F9D6FB
Accessibility & contrast
On white
2.77
#E766F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#E766F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E766F1
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E766F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E766F1 | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#EC79A2
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #e766f1; /* rgb */ color: rgb(231, 102, 241); /* oklch */ color: oklch(71.9% 0.227 324.7);
Tailwind
colors: {
custom: {
50: '#f298f6',
500: '#e766f1',
950: '#000000',
},
}SCSS
$custom: #e766f1; $custom-light: #f298f6; $custom-dark: #000000;
JSON
{
"hex": "#e766f1",
"rgb": {
"r": 231,
"g": 102,
"b": 241
},
"hsl": {
"h": 295.683,
"s": 83.234,
"l": 67.255
},
"oklch": {
"l": 0.71877,
"c": 0.22721,
"h": 324.7
},
"luminance": 0.32843
}Semantic roles & 50–950 ramp
primary
#E766F1
secondary
#C7EFC3
accent
#E00616
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#170E17
muted
#857E85