#A381E9#A381E9
#A381E9 is a light, vivid violet. Relative luminance 0.294; OKLCH L 67.9% C 0.152 H 297.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A381E9 |
|---|---|
| RGB | rgb(163, 129, 233) |
| HSL | hsl(260, 70%, 71%) |
| HSV | hsv(260, 45%, 91%) |
| CMYK | cmyk(30%, 44.6%, 0%, 8.6%) |
| CIE-LAB | lab(61.11, 34.88, -48.10) |
| CIE-LCH | lch(61.11, 59.41, 305.95°) |
| OKLab | oklab(67.88% 0.0696 -0.135) |
| OKLCH | oklch(67.88% 0.152 297.3) |
| XYZ | xyz(37.6589, 29.3698, 80.7599) |
| Luminance | 0.2937 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 5.59
Light Urple
#B36FF6
ΔE00 5.80
Periwinkle (survey)
#8E82FE
ΔE00 5.96
Light Purple
#BF77F6
ΔE00 6.04
Perrywinkle
#8F8CE7
ΔE00 6.21
Liliac
#C48EFD
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A381E9 #C7E981
analogous
#8193E9 #A381E9 #D781E9
triadic
#A381E9 #E9A381 #81E9A3
tetradic
#A381E9 #E98193 #C7E981 #81E9D7
square
#A381E9 #E98193 #C7E981 #81E9D7
split-complementary
#A381E9 #E9D781 #93E981
monochromatic
#5B24CC #7D4DE0 #A381E9 #C9B5F2 #ECE5FA
Accessibility & contrast
On white
3.05
#A381E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#A381E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A381E9
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A381E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A381E9 | 1.00 | 3.05 | 6.87 | 6.87 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6194ED
Deuteranopia (green-blind)
#6892E6
Tritanopia (blue-blind)
#9494AA
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a381e9; /* rgb */ color: rgb(163, 129, 233); /* oklch */ color: oklch(67.9% 0.152 297.3);
Tailwind
colors: {
custom: {
50: '#c1a6f0',
500: '#a381e9',
950: '#000000',
},
}SCSS
$custom: #a381e9; $custom-light: #c1a6f0; $custom-dark: #000000;
JSON
{
"hex": "#a381e9",
"rgb": {
"r": 163,
"g": 129,
"b": 233
},
"hsl": {
"h": 259.615,
"s": 70.27,
"l": 70.98
},
"oklch": {
"l": 0.67881,
"c": 0.15188,
"h": 297.3
},
"luminance": 0.2937
}Semantic roles & 50–950 ramp
primary
#A381E9
secondary
#E8F1D5
accent
#D21394
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85