#A181EA#A181EA
#A181EA is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.8% C 0.153 H 296.1°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A181EA |
|---|---|
| RGB | rgb(161, 129, 234) |
| HSL | hsl(258, 71%, 71%) |
| HSV | hsv(258, 45%, 92%) |
| CMYK | cmyk(31.2%, 44.9%, 0%, 8.2%) |
| CIE-LAB | lab(60.97, 34.60, -48.88) |
| CIE-LCH | lch(60.97, 59.88, 305.29°) |
| OKLab | oklab(67.75% 0.0673 -0.1373) |
| OKLCH | oklch(67.75% 0.153 296.1) |
| XYZ | xyz(37.3958, 29.2176, 81.4953) |
| Luminance | 0.2922 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 5.46
Mediumpurple
#9370DB
ΔE00 5.49
Perrywinkle
#8F8CE7
ΔE00 5.83
Light Urple
#B36FF6
ΔE00 5.99
Lavender Blue
#8B88F8
ΔE00 6.26
Light Purple
#BF77F6
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A181EA #CAEA81
analogous
#8195EA #A181EA #D681EA
triadic
#A181EA #EAA181 #81EAA1
tetradic
#A181EA #EA8195 #CAEA81 #81EAD6
square
#A181EA #EA8195 #CAEA81 #81EAD6
split-complementary
#A181EA #EAD681 #95EA81
monochromatic
#5722CE #7A4DE1 #A181EA #C8B5F3 #EBE5FB
Accessibility & contrast
On white
3.07
#A181EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#A181EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A181EA
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A181EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A181EA | 1.00 | 3.07 | 6.84 | 6.84 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#6692E7
Tritanopia (blue-blind)
#9194AA
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a181ea; /* rgb */ color: rgb(161, 129, 234); /* oklch */ color: oklch(67.8% 0.153 296.1);
Tailwind
colors: {
custom: {
50: '#bfa6f1',
500: '#a181ea',
950: '#000000',
},
}SCSS
$custom: #a181ea; $custom-light: #bfa6f1; $custom-dark: #000000;
JSON
{
"hex": "#a181ea",
"rgb": {
"r": 161,
"g": 129,
"b": 234
},
"hsl": {
"h": 258.286,
"s": 71.429,
"l": 71.176
},
"oklch": {
"l": 0.67754,
"c": 0.15294,
"h": 296.1
},
"luminance": 0.29218
}Semantic roles & 50–950 ramp
primary
#A181EA
secondary
#E9F1D6
accent
#D31299
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85