#A181F9#A181F9
#A181F9 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.6% C 0.172 H 293.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A181F9 |
|---|---|
| RGB | rgb(161, 129, 249) |
| HSL | hsl(256, 91%, 74%) |
| HSV | hsv(256, 48%, 98%) |
| CMYK | cmyk(35.3%, 48.2%, 0%, 2.4%) |
| CIE-LAB | lab(61.75, 38.43, -55.92) |
| CIE-LCH | lch(61.75, 67.85, 304.49°) |
| OKLab | oklab(68.59% 0.0691 -0.1579) |
| OKLCH | oklch(68.59% 0.172 293.6) |
| XYZ | xyz(39.6426, 30.1163, 93.3286) |
| Luminance | 0.3012 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.99
Lavender Blue
#8B88F8
ΔE00 5.30
Light Urple
#B36FF6
ΔE00 5.96
Perrywinkle
#8F8CE7
ΔE00 5.99
Mediumpurple
#9370DB
ΔE00 6.48
Light Purple
#BF77F6
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A181F9 #D9F981
analogous
#819DF9 #A181F9 #DD81F9
triadic
#A181F9 #F9A181 #81F9A1
tetradic
#A181F9 #F9819D #D9F981 #81F9DD
square
#A181F9 #F9819D #D9F981 #81F9DD
split-complementary
#A181F9 #F9DD81 #9DF981
monochromatic
#4A0CF3 #7547F6 #A181F9 #CDBBFC #E9E2FE
Accessibility & contrast
On white
2.99
#A181F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#A181F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A181F9
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A181F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A181F9 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5597FD
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#8C98B1
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a181f9; /* rgb */ color: rgb(161, 129, 249); /* oklch */ color: oklch(68.6% 0.172 293.6);
Tailwind
colors: {
custom: {
50: '#c0a6fc',
500: '#a181f9',
950: '#000000',
},
}SCSS
$custom: #a181f9; $custom-light: #c0a6fc; $custom-dark: #000000;
JSON
{
"hex": "#a181f9",
"rgb": {
"r": 161,
"g": 129,
"b": 249
},
"hsl": {
"h": 256,
"s": 90.909,
"l": 74.118
},
"oklch": {
"l": 0.68594,
"c": 0.17237,
"h": 293.6
},
"luminance": 0.30117
}Semantic roles & 50–950 ramp
primary
#A181F9
secondary
#EDF6D5
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85