#A181F7#A181F7
#A181F7 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.5% C 0.170 H 293.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A181F7 |
|---|---|
| RGB | rgb(161, 129, 247) |
| HSL | hsl(256, 88%, 74%) |
| HSV | hsv(256, 48%, 97%) |
| CMYK | cmyk(34.8%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(61.65, 37.91, -54.99) |
| CIE-LCH | lch(61.65, 66.79, 304.58°) |
| OKLab | oklab(68.48% 0.0689 -0.1552) |
| OKLCH | oklch(68.48% 0.17 293.9) |
| XYZ | xyz(39.3324, 29.9922, 91.6945) |
| Luminance | 0.2999 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.13
Lavender Blue
#8B88F8
ΔE00 5.37
Light Urple
#B36FF6
ΔE00 5.91
Perrywinkle
#8F8CE7
ΔE00 5.92
Mediumpurple
#9370DB
ΔE00 6.31
Light Purple
#BF77F6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A181F7 #D7F781
analogous
#819CF7 #A181F7 #DC81F7
triadic
#A181F7 #F7A181 #81F7A1
tetradic
#A181F7 #F7819C #D7F781 #81F7DC
square
#A181F7 #F7819C #D7F781 #81F7DC
split-complementary
#A181F7 #F7DC81 #9CF781
monochromatic
#4C0FEE #7647F3 #A181F7 #CCBBFB #EAE2FD
Accessibility & contrast
On white
3.00
#A181F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.00
#A181F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A181F7
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A181F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A181F7 | 1.00 | 3.00 | 7.00 | 7.00 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#5C93F4
Tritanopia (blue-blind)
#8D98B0
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a181f7; /* rgb */ color: rgb(161, 129, 247); /* oklch */ color: oklch(68.5% 0.170 293.9);
Tailwind
colors: {
custom: {
50: '#c0a6fa',
500: '#a181f7',
950: '#000000',
},
}SCSS
$custom: #a181f7; $custom-light: #c0a6fa; $custom-dark: #000000;
JSON
{
"hex": "#a181f7",
"rgb": {
"r": 161,
"g": 129,
"b": 247
},
"hsl": {
"h": 256.271,
"s": 88.06,
"l": 73.725
},
"oklch": {
"l": 0.68479,
"c": 0.1698,
"h": 293.9
},
"luminance": 0.29993
}Semantic roles & 50–950 ramp
primary
#A181F7
secondary
#EDF5D6
accent
#E501A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85