#E4A2FC#E4A2FC
#E4A2FC is a light, vivid purple. Relative luminance 0.494; OKLCH L 80.6% C 0.141 H 316.7°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #E4A2FC |
|---|---|
| RGB | rgb(228, 162, 252) |
| HSL | hsl(284, 94%, 81%) |
| HSV | hsv(284, 36%, 99%) |
| CMYK | cmyk(9.5%, 35.7%, 0%, 1.2%) |
| CIE-LAB | lab(75.68, 39.59, -35.24) |
| CIE-LCH | lch(75.68, 53.01, 318.33°) |
| OKLab | oklab(80.62% 0.1028 -0.0967) |
| OKLCH | oklch(80.62% 0.141 316.7) |
| XYZ | xyz(62.4834, 49.3644, 98.3134) |
| Luminance | 0.4936 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mauve
#E0B0FF
ΔE00 3.75
Lilac (survey)
#CEA2FD
ΔE00 4.66
Baby Purple
#CA9BF7
ΔE00 5.03
Lavender (survey)
#C79FEF
ΔE00 5.36
Pastel Purple
#CAA0FF
ΔE00 5.64
Plum
#DDA0DD
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4A2FC #BAFCA2
analogous
#B7A2FC #E4A2FC #FCA2E7
triadic
#E4A2FC #FCE4A2 #A2FCE4
tetradic
#E4A2FC #FCB7A2 #BAFCA2 #A2E7FC
square
#E4A2FC #FCB7A2 #BAFCA2 #A2E7FC
split-complementary
#E4A2FC #E7FCA2 #A2FCB7
monochromatic
#C22BF8 #D367FA #E4A2FC #F5DDFE #F6E1FE
Accessibility & contrast
On white
1.93
#E4A2FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.87
#E4A2FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4A2FC
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4A2FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4A2FC | 1.00 | 1.93 | 10.87 | 10.87 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95B6FF
Deuteranopia (green-blind)
#A5BDF9
Tritanopia (blue-blind)
#E4ADC4
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #e4a2fc; /* rgb */ color: rgb(228, 162, 252); /* oklch */ color: oklch(80.6% 0.141 316.7);
Tailwind
colors: {
custom: {
50: '#edbefd',
500: '#e4a2fc',
950: '#000000',
},
}SCSS
$custom: #e4a2fc; $custom-light: #edbefd; $custom-dark: #000000;
JSON
{
"hex": "#e4a2fc",
"rgb": {
"r": 228,
"g": 162,
"b": 252
},
"hsl": {
"h": 284,
"s": 93.75,
"l": 81.176
},
"oklch": {
"l": 0.80618,
"c": 0.14118,
"h": 316.7
},
"luminance": 0.49363
}Semantic roles & 50–950 ramp
primary
#E4A2FC
secondary
#DEF6D5
accent
#E6003D
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185