#E766EF#E766EF
#E766EF is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.8% C 0.225 H 325.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #E766EF |
|---|---|
| RGB | rgb(231, 102, 239) |
| HSL | hsl(296, 81%, 67%) |
| HSV | hsv(296, 57%, 94%) |
| CMYK | cmyk(3.3%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(63.94, 67.72, -46.44) |
| CIE-LCH | lch(63.94, 82.11, 325.56°) |
| OKLab | oklab(71.78% 0.1853 -0.1284) |
| OKLCH | oklch(71.78% 0.225 325.3) |
| XYZ | xyz(53.2852, 32.7267, 85.1548) |
| Luminance | 0.3272 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.76
Violet Pink
#FB5FFC
ΔE00 3.00
Purply Pink
#F075E6
ΔE00 4.27
Orchid
#DA70D6
ΔE00 4.31
Candy Pink
#FF63E9
ΔE00 4.43
Heliotrope
#D94FF5
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E766EF #6EEF66
analogous
#A266EF #E766EF #EF66B3
triadic
#E766EF #EFE766 #66EFE7
tetradic
#E766EF #EFA266 #6EEF66 #66B3EF
square
#E766EF #EFA266 #6EEF66 #66B3EF
split-complementary
#E766EF #B3EF66 #66EFA2
monochromatic
#BC15C6 #DE2FE9 #E766EF #F09DF5 #F8D5FB
Accessibility & contrast
On white
2.78
#E766EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#E766EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E766EF
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E766EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E766EF | 1.00 | 2.78 | 7.54 | 7.54 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5291F3
Deuteranopia (green-blind)
#7FA1EB
Tritanopia (blue-blind)
#EC78A1
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #e766ef; /* rgb */ color: rgb(231, 102, 239); /* oklch */ color: oklch(71.8% 0.225 325.3);
Tailwind
colors: {
custom: {
50: '#f298f5',
500: '#e766ef',
950: '#000000',
},
}SCSS
$custom: #e766ef; $custom-light: #f298f5; $custom-dark: #000000;
JSON
{
"hex": "#e766ef",
"rgb": {
"r": 231,
"g": 102,
"b": 239
},
"hsl": {
"h": 296.496,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.71775,
"c": 0.22549,
"h": 325.3
},
"luminance": 0.32724
}Semantic roles & 50–950 ramp
primary
#E766EF
secondary
#C5EEC2
accent
#DD0815
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#170E17
muted
#857E85