#A181EF#A181EF
#A181EF is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.0% C 0.159 H 295.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A181EF |
|---|---|
| RGB | rgb(161, 129, 239) |
| HSL | hsl(257, 77%, 72%) |
| HSV | hsv(257, 46%, 94%) |
| CMYK | cmyk(32.6%, 46%, 0%, 6.3%) |
| CIE-LAB | lab(61.23, 35.86, -51.24) |
| CIE-LCH | lch(61.23, 62.55, 304.99°) |
| OKLab | oklab(68.03% 0.068 -0.1442) |
| OKLCH | oklch(68.03% 0.159 295.2) |
| XYZ | xyz(38.1243, 29.5090, 85.3318) |
| Luminance | 0.2951 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.87
Mediumpurple
#9370DB
ΔE00 5.73
Perrywinkle
#8F8CE7
ΔE00 5.78
Lavender Blue
#8B88F8
ΔE00 5.84
Light Urple
#B36FF6
ΔE00 5.88
Light Purple
#BF77F6
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A181EF #CFEF81
analogous
#8198EF #A181EF #D881EF
triadic
#A181EF #EFA181 #81EFA1
tetradic
#A181EF #EF8198 #CFEF81 #81EFD8
square
#A181EF #EF8198 #CFEF81 #81EFD8
split-complementary
#A181EF #EFD881 #98EF81
monochromatic
#531CDA #784BE8 #A181EF #CAB7F6 #EBE4FC
Accessibility & contrast
On white
3.04
#A181EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#A181EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A181EF
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A181EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A181EF | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#8F96AD
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a181ef; /* rgb */ color: rgb(161, 129, 239); /* oklch */ color: oklch(68.0% 0.159 295.2);
Tailwind
colors: {
custom: {
50: '#c0a6f5',
500: '#a181ef',
950: '#000000',
},
}SCSS
$custom: #a181ef; $custom-light: #c0a6f5; $custom-dark: #000000;
JSON
{
"hex": "#a181ef",
"rgb": {
"r": 161,
"g": 129,
"b": 239
},
"hsl": {
"h": 257.455,
"s": 77.465,
"l": 72.157
},
"oklch": {
"l": 0.68028,
"c": 0.15945,
"h": 295.2
},
"luminance": 0.2951
}Semantic roles & 50–950 ramp
primary
#A181EF
secondary
#EBF3D8
accent
#DA0C9E
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#120F17
muted
#817F85