#A181F6#A181F6
#A181F6 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.4% C 0.169 H 294.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A181F6 |
|---|---|
| RGB | rgb(161, 129, 246) |
| HSL | hsl(256, 87%, 74%) |
| HSV | hsv(256, 48%, 96%) |
| CMYK | cmyk(34.6%, 47.6%, 0%, 3.5%) |
| CIE-LAB | lab(61.59, 37.65, -54.53) |
| CIE-LCH | lch(61.59, 66.26, 304.63°) |
| OKLab | oklab(68.42% 0.0688 -0.1538) |
| OKLCH | oklch(68.42% 0.169 294.1) |
| XYZ | xyz(39.1785, 29.9306, 90.8839) |
| Luminance | 0.2993 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.20
Lavender Blue
#8B88F8
ΔE00 5.41
Perrywinkle
#8F8CE7
ΔE00 5.89
Light Urple
#B36FF6
ΔE00 5.89
Mediumpurple
#9370DB
ΔE00 6.23
Light Purple
#BF77F6
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A181F6 #D6F681
analogous
#819BF6 #A181F6 #DB81F6
triadic
#A181F6 #F6A181 #81F6A1
tetradic
#A181F6 #F6819B #D6F681 #81F6DB
square
#A181F6 #F6819B #D6F681 #81F6DB
split-complementary
#A181F6 #F6DB81 #9BF681
monochromatic
#4D11EC #7648F2 #A181F6 #CCBAFA #EAE2FD
Accessibility & contrast
On white
3.01
#A181F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#A181F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A181F6
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A181F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A181F6 | 1.00 | 3.01 | 6.99 | 6.99 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#5D93F3
Tritanopia (blue-blind)
#8D98B0
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a181f6; /* rgb */ color: rgb(161, 129, 246); /* oklch */ color: oklch(68.4% 0.169 294.1);
Tailwind
colors: {
custom: {
50: '#c0a6fa',
500: '#a181f6',
950: '#000000',
},
}SCSS
$custom: #a181f6; $custom-light: #c0a6fa; $custom-dark: #000000;
JSON
{
"hex": "#a181f6",
"rgb": {
"r": 161,
"g": 129,
"b": 246
},
"hsl": {
"h": 256.41,
"s": 86.667,
"l": 73.529
},
"oklch": {
"l": 0.68422,
"c": 0.16851,
"h": 294.1
},
"luminance": 0.29931
}Semantic roles & 50–950 ramp
primary
#A181F6
secondary
#EDF5D6
accent
#E302A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85