#A291E9#A291E9
#A291E9 is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.7% C 0.127 H 291.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A291E9 |
|---|---|
| RGB | rgb(162, 145, 233) |
| HSL | hsl(252, 67%, 74%) |
| HSV | hsv(252, 38%, 91%) |
| CMYK | cmyk(30.5%, 37.8%, 0%, 8.6%) |
| CIE-LAB | lab(64.82, 25.51, -42.26) |
| CIE-LCH | lch(64.82, 49.36, 301.11°) |
| OKLab | oklab(70.67% 0.0469 -0.1181) |
| OKLCH | oklch(70.67% 0.127 291.7) |
| XYZ | xyz(39.7299, 33.8146, 81.5087) |
| Luminance | 0.3382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.11
Lavender Blue
#8B88F8
ΔE00 6.13
Periwinkle Blue
#8F99FB
ΔE00 6.79
Lavender
#B39DDB
ΔE00 6.80
Periwinkle (survey)
#8E82FE
ΔE00 6.90
Liliac
#C48EFD
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A291E9 #D8E991
analogous
#91ACE9 #A291E9 #CE91E9
triadic
#A291E9 #E9A291 #91E9A2
tetradic
#A291E9 #E991AC #D8E991 #91E9CE
square
#A291E9 #E991AC #D8E991 #91E9CE
split-complementary
#A291E9 #E9CE91 #ACE991
monochromatic
#4C2BD5 #775EDF #A291E9 #CDC4F3 #E9E5FA
Accessibility & contrast
On white
2.71
#A291E9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#A291E9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A291E9
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A291E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A291E9 | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#779FEC
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#92A1B2
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a291e9; /* rgb */ color: rgb(162, 145, 233); /* oklch */ color: oklch(70.7% 0.127 291.7);
Tailwind
colors: {
custom: {
50: '#bfb1f0',
500: '#a291e9',
950: '#000000',
},
}SCSS
$custom: #a291e9; $custom-light: #bfb1f0; $custom-dark: #000000;
JSON
{
"hex": "#a291e9",
"rgb": {
"r": 162,
"g": 145,
"b": 233
},
"hsl": {
"h": 251.591,
"s": 66.667,
"l": 74.118
},
"oklch": {
"l": 0.70669,
"c": 0.12707,
"h": 291.7
},
"luminance": 0.33815
}Semantic roles & 50–950 ramp
primary
#A291E9
secondary
#EDF1DA
accent
#CF17AB
background
#FBFAFE
surface
#F7F5FD
border
#D0CFD5
text
#121016
muted
#817F84