#E766ED#E766ED
#E766ED is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.7% C 0.224 H 325.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #E766ED |
|---|---|
| RGB | rgb(231, 102, 237) |
| HSL | hsl(297, 79%, 66%) |
| HSV | hsv(297, 57%, 93%) |
| CMYK | cmyk(2.5%, 57%, 0%, 7.1%) |
| CIE-LAB | lab(63.84, 67.37, -45.48) |
| CIE-LCH | lch(63.84, 81.29, 325.98°) |
| OKLab | oklab(71.67% 0.1852 -0.1257) |
| OKLCH | oklch(71.67% 0.224 325.8) |
| XYZ | xyz(52.9913, 32.6092, 83.6074) |
| Luminance | 0.3261 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.79
Violet Pink
#FB5FFC
ΔE00 3.10
Orchid
#DA70D6
ΔE00 4.05
Purply Pink
#F075E6
ΔE00 4.10
Candy Pink
#FF63E9
ΔE00 4.27
Heliotrope
#D94FF5
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E766ED #6CED66
analogous
#A466ED #E766ED #ED66B0
triadic
#E766ED #EDE766 #66EDE7
tetradic
#E766ED #EDA466 #6CED66 #66B0ED
square
#E766ED #EDA466 #6CED66 #66B0ED
split-complementary
#E766ED #B0ED66 #66EDA4
monochromatic
#BA17C2 #DE2FE7 #E766ED #F09DF3 #F8D4FA
Accessibility & contrast
On white
2.79
#E766ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#E766ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E766ED
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E766ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E766ED | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#80A0E9
Tritanopia (blue-blind)
#EC77A0
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #e766ed; /* rgb */ color: rgb(231, 102, 237); /* oklch */ color: oklch(71.7% 0.224 325.8);
Tailwind
colors: {
custom: {
50: '#f298f3',
500: '#e766ed',
950: '#000000',
},
}SCSS
$custom: #e766ed; $custom-light: #f298f3; $custom-dark: #000000;
JSON
{
"hex": "#e766ed",
"rgb": {
"r": 231,
"g": 102,
"b": 237
},
"hsl": {
"h": 297.333,
"s": 78.947,
"l": 66.471
},
"oklch": {
"l": 0.71674,
"c": 0.22379,
"h": 325.8
},
"luminance": 0.32606
}Semantic roles & 50–950 ramp
primary
#E766ED
secondary
#C3EDC2
accent
#DB0A14
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170E17
muted
#857E85