#A18EF9#A18EF9
#A18EF9 is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.9% C 0.153 H 290.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A18EF9 |
|---|---|
| RGB | rgb(161, 142, 249) |
| HSL | hsl(251, 90%, 77%) |
| HSV | hsv(251, 43%, 98%) |
| CMYK | cmyk(35.3%, 43%, 0%, 2.4%) |
| CIE-LAB | lab(64.77, 31.06, -51.13) |
| CIE-LCH | lch(64.77, 59.82, 301.27°) |
| OKLab | oklab(70.87% 0.0526 -0.1439) |
| OKLCH | oklch(70.87% 0.153 290.1) |
| XYZ | xyz(41.4653, 33.7616, 93.9361) |
| Luminance | 0.3376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.07
Lavender Blue
#8B88F8
ΔE00 4.36
Periwinkle (survey)
#8E82FE
ΔE00 4.67
Periwinkle Blue
#8F99FB
ΔE00 5.99
Liliac
#C48EFD
ΔE00 7.09
Pastel Purple
#CAA0FF
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18EF9 #E6F98E
analogous
#8EB1F9 #A18EF9 #D78EF9
triadic
#A18EF9 #F9A18E #8EF9A1
tetradic
#A18EF9 #F98EB1 #E6F98E #8EF9D7
square
#A18EF9 #F98EB1 #E6F98E #8EF9D7
split-complementary
#A18EF9 #F9D78E #B1F98E
monochromatic
#401AF3 #7154F6 #A18EF9 #D1C8FC #E7E2FD
Accessibility & contrast
On white
2.71
#A18EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#A18EF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18EF9
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18EF9 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A9FFD
Deuteranopia (green-blind)
#6B9BF6
Tritanopia (blue-blind)
#8BA2B8
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a18ef9; /* rgb */ color: rgb(161, 142, 249); /* oklch */ color: oklch(70.9% 0.153 290.1);
Tailwind
colors: {
custom: {
50: '#c0affc',
500: '#a18ef9',
950: '#000000',
},
}SCSS
$custom: #a18ef9; $custom-light: #c0affc; $custom-dark: #000000;
JSON
{
"hex": "#a18ef9",
"rgb": {
"r": 161,
"g": 142,
"b": 249
},
"hsl": {
"h": 250.654,
"s": 89.916,
"l": 76.667
},
"oklch": {
"l": 0.70866,
"c": 0.1532,
"h": 290.1
},
"luminance": 0.33763
}Semantic roles & 50–950 ramp
primary
#A18EF9
secondary
#F0F6D5
accent
#E600BD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85