#E766FB#E766FB
#E766FB is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.4% C 0.236 H 322.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #E766FB |
|---|---|
| RGB | rgb(231, 102, 251) |
| HSL | hsl(292, 95%, 69%) |
| HSV | hsv(292, 59%, 98%) |
| CMYK | cmyk(8%, 59.4%, 0%, 1.6%) |
| CIE-LAB | lab(64.53, 69.83, -52.13) |
| CIE-LCH | lch(64.53, 87.15, 323.26°) |
| OKLab | oklab(72.4% 0.1861 -0.1449) |
| OKLCH | oklch(72.4% 0.236 322.1) |
| XYZ | xyz(55.1171, 33.4595, 94.8032) |
| Luminance | 0.3346 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.05
Light Magenta
#FA5FF7
ΔE00 3.22
Heliotrope
#D94FF5
ΔE00 5.08
Purply Pink
#F075E6
ΔE00 5.49
Candy Pink
#FF63E9
ΔE00 5.61
Bright Lilac
#C95EFB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E766FB #7AFB66
analogous
#9D66FB #E766FB #FB66C5
triadic
#E766FB #FBE766 #66FBE7
tetradic
#E766FB #FB9D66 #7AFB66 #66C5FB
square
#E766FB #FB9D66 #7AFB66 #66C5FB
split-complementary
#E766FB #C5FB66 #66FB9D
monochromatic
#C306E1 #DE2AF9 #E766FB #F0A2FD #FADDFE
Accessibility & contrast
On white
2.73
#E766FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#E766FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E766FB
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E766FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E766FB | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#78A2F7
Tritanopia (blue-blind)
#EA7DA7
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #e766fb; /* rgb */ color: rgb(231, 102, 251); /* oklch */ color: oklch(72.4% 0.236 322.1);
Tailwind
colors: {
custom: {
50: '#f298fd',
500: '#e766fb',
950: '#000000',
},
}SCSS
$custom: #e766fb; $custom-light: #f298fd; $custom-dark: #000000;
JSON
{
"hex": "#e766fb",
"rgb": {
"r": 231,
"g": 102,
"b": 251
},
"hsl": {
"h": 291.946,
"s": 94.904,
"l": 69.216
},
"oklch": {
"l": 0.72399,
"c": 0.23588,
"h": 322.1
},
"luminance": 0.33457
}Semantic roles & 50–950 ramp
primary
#E766FB
secondary
#CFF4C9
accent
#E6001F
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#170E18
muted
#857E86