#E77AF2#E77AF2
#E77AF2 is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.4% C 0.198 H 323.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #E77AF2 |
|---|---|
| RGB | rgb(231, 122, 242) |
| HSL | hsl(295, 82%, 71%) |
| HSV | hsv(295, 50%, 95%) |
| CMYK | cmyk(4.5%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(67.52, 59.03, -42.47) |
| CIE-LCH | lch(67.52, 72.72, 324.26°) |
| OKLab | oklab(74.45% 0.1601 -0.1171) |
| OKLCH | oklch(74.45% 0.198 323.8) |
| XYZ | xyz(55.9400, 37.3215, 88.2444) |
| Luminance | 0.3732 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.59
Purply Pink
#F075E6
ΔE00 2.97
Light Magenta
#FA5FF7
ΔE00 4.51
Violet Pink
#FB5FFC
ΔE00 4.57
Orchid
#DA70D6
ΔE00 4.78
Candy Pink
#FF63E9
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E77AF2 #85F27A
analogous
#AB7AF2 #E77AF2 #F27AC1
triadic
#E77AF2 #F2E77A #7AF2E7
tetradic
#E77AF2 #F2AB7A #85F27A #7AC1F2
square
#E77AF2 #F2AB7A #85F27A #7AC1F2
split-complementary
#E77AF2 #C1F27A #7AF2AB
monochromatic
#CA16DC #DD42ED #E77AF2 #F1B2F7 #FAE3FC
Accessibility & contrast
On white
2.48
#E77AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#E77AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E77AF2
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E77AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E77AF2 | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#8BA9EF
Tritanopia (blue-blind)
#EB89AB
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #e77af2; /* rgb */ color: rgb(231, 122, 242); /* oklch */ color: oklch(74.4% 0.198 323.8);
Tailwind
colors: {
custom: {
50: '#f1a4f7',
500: '#e77af2',
950: '#000000',
},
}SCSS
$custom: #e77af2; $custom-light: #f1a4f7; $custom-dark: #000000;
JSON
{
"hex": "#e77af2",
"rgb": {
"r": 231,
"g": 122,
"b": 242
},
"hsl": {
"h": 294.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.74449,
"c": 0.1984,
"h": 323.8
},
"luminance": 0.37319
}Semantic roles & 50–950 ramp
primary
#E77AF2
secondary
#D7F3D4
accent
#DF071B
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#170F17
muted
#857F85