#A181F8#A181F8
#A181F8 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.5% C 0.171 H 293.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A181F8 |
|---|---|
| RGB | rgb(161, 129, 248) |
| HSL | hsl(256, 89%, 74%) |
| HSV | hsv(256, 48%, 97%) |
| CMYK | cmyk(35.1%, 48%, 0%, 2.7%) |
| CIE-LAB | lab(61.70, 38.17, -55.46) |
| CIE-LCH | lch(61.70, 67.32, 304.54°) |
| OKLab | oklab(68.54% 0.069 -0.1565) |
| OKLCH | oklch(68.54% 0.171 293.8) |
| XYZ | xyz(39.4871, 30.0541, 92.5093) |
| Luminance | 0.3005 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.05
Lavender Blue
#8B88F8
ΔE00 5.33
Light Urple
#B36FF6
ΔE00 5.93
Perrywinkle
#8F8CE7
ΔE00 5.95
Mediumpurple
#9370DB
ΔE00 6.39
Light Purple
#BF77F6
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A181F8 #D8F881
analogous
#819DF8 #A181F8 #DC81F8
triadic
#A181F8 #F8A181 #81F8A1
tetradic
#A181F8 #F8819D #D8F881 #81F8DC
square
#A181F8 #F8819D #D8F881 #81F8DC
split-complementary
#A181F8 #F8DC81 #9DF881
monochromatic
#4B0DF1 #7647F5 #A181F8 #CCBBFB #E9E2FD
Accessibility & contrast
On white
3.00
#A181F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.01
#A181F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A181F8
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A181F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A181F8 | 1.00 | 3.00 | 7.01 | 7.01 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#8C98B1
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a181f8; /* rgb */ color: rgb(161, 129, 248); /* oklch */ color: oklch(68.5% 0.171 293.8);
Tailwind
colors: {
custom: {
50: '#c0a6fb',
500: '#a181f8',
950: '#000000',
},
}SCSS
$custom: #a181f8; $custom-light: #c0a6fb; $custom-dark: #000000;
JSON
{
"hex": "#a181f8",
"rgb": {
"r": 161,
"g": 129,
"b": 248
},
"hsl": {
"h": 256.134,
"s": 89.474,
"l": 73.922
},
"oklch": {
"l": 0.68536,
"c": 0.17109,
"h": 293.8
},
"luminance": 0.30055
}Semantic roles & 50–950 ramp
primary
#A181F8
secondary
#EDF5D6
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85