#E295FC#E295FC
#E295FC is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.3% C 0.162 H 317.2°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E295FC |
|---|---|
| RGB | rgb(226, 149, 252) |
| HSL | hsl(285, 94%, 79%) |
| HSV | hsv(285, 41%, 99%) |
| CMYK | cmyk(10.3%, 40.9%, 0%, 1.2%) |
| CIE-LAB | lab(72.69, 45.87, -39.90) |
| CIE-LCH | lch(72.69, 60.79, 318.98°) |
| OKLab | oklab(78.32% 0.119 -0.11) |
| OKLCH | oklch(78.32% 0.162 317.2) |
| XYZ | xyz(59.6797, 44.6936, 97.5595) |
| Luminance | 0.4469 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 4.92
Violet (CSS)
#EE82EE
ΔE00 5.11
Lilac (survey)
#CEA2FD
ΔE00 5.46
Pastel Purple
#CAA0FF
ΔE00 5.98
Liliac
#C48EFD
ΔE00 6.10
Lavender (survey)
#C79FEF
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E295FC #AFFC95
analogous
#AE95FC #E295FC #FC95E2
triadic
#E295FC #FCE295 #95FCE2
tetradic
#E295FC #FCAE95 #AFFC95 #95E2FC
square
#E295FC #FCAE95 #AFFC95 #95E2FC
split-complementary
#E295FC #E2FC95 #95FCAE
monochromatic
#C11EF9 #D259FA #E295FC #F2D1FE #F7E1FE
Accessibility & contrast
On white
2.11
#E295FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#E295FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E295FC
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E295FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E295FC | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#98B5F9
Tritanopia (blue-blind)
#E2A3BD
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #e295fc; /* rgb */ color: rgb(226, 149, 252); /* oklch */ color: oklch(78.3% 0.162 317.2);
Tailwind
colors: {
custom: {
50: '#ecb5fd',
500: '#e295fc',
950: '#000000',
},
}SCSS
$custom: #e295fc; $custom-light: #ecb5fd; $custom-dark: #000000;
JSON
{
"hex": "#e295fc",
"rgb": {
"r": 226,
"g": 149,
"b": 252
},
"hsl": {
"h": 284.854,
"s": 94.495,
"l": 78.627
},
"oklch": {
"l": 0.78319,
"c": 0.16202,
"h": 317.2
},
"luminance": 0.44692
}Semantic roles & 50–950 ramp
primary
#E295FC
secondary
#DDF6D5
accent
#E6003A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085