#E299F2#E299F2
#E299F2 is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.5% C 0.145 H 320.2°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #E299F2 |
|---|---|
| RGB | rgb(226, 153, 242) |
| HSL | hsl(289, 77%, 77%) |
| HSV | hsv(289, 37%, 95%) |
| CMYK | cmyk(6.6%, 36.8%, 0%, 5.1%) |
| CIE-LAB | lab(73.13, 41.81, -33.78) |
| CIE-LCH | lch(73.13, 53.75, 321.06°) |
| OKLab | oklab(78.52% 0.1112 -0.0925) |
| OKLCH | oklch(78.52% 0.145 320.2) |
| XYZ | xyz(58.7803, 45.3638, 89.6469) |
| Luminance | 0.4536 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 5.23
Violet (CSS)
#EE82EE
ΔE00 5.36
Baby Purple
#CA9BF7
ΔE00 5.47
Lavender Pink
#DD85D7
ΔE00 5.80
Mauve
#E0B0FF
ΔE00 5.81
Lilac (survey)
#CEA2FD
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E299F2 #A9F299
analogous
#B599F2 #E299F2 #F299D6
triadic
#E299F2 #F2E299 #99F2E2
tetradic
#E299F2 #F2B599 #A9F299 #99D6F2
square
#E299F2 #F2B599 #A9F299 #99D6F2
split-complementary
#E299F2 #D6F299 #99F2B5
monochromatic
#C32CE4 #D363EB #E299F2 #F1CFF9 #F7E4FC
Accessibility & contrast
On white
2.08
#E299F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.07
#E299F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E299F2
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E299F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E299F2 | 1.00 | 2.08 | 10.07 | 10.07 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EAEF5
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#E3A3BA
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #e299f2; /* rgb */ color: rgb(226, 153, 242); /* oklch */ color: oklch(78.5% 0.145 320.2);
Tailwind
colors: {
custom: {
50: '#ecb8f6',
500: '#e299f2',
950: '#000000',
},
}SCSS
$custom: #e299f2; $custom-light: #ecb8f6; $custom-dark: #000000;
JSON
{
"hex": "#e299f2",
"rgb": {
"r": 226,
"g": 153,
"b": 242
},
"hsl": {
"h": 289.213,
"s": 77.391,
"l": 77.451
},
"oklch": {
"l": 0.78517,
"c": 0.14468,
"h": 320.2
},
"luminance": 0.45362
}Semantic roles & 50–950 ramp
primary
#E299F2
secondary
#DDF3D8
accent
#DA0C31
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085