#A381FB#A381FB
#A381FB is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.9% C 0.175 H 294.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A381FB |
|---|---|
| RGB | rgb(163, 129, 251) |
| HSL | hsl(257, 94%, 75%) |
| HSV | hsv(257, 49%, 98%) |
| CMYK | cmyk(35.1%, 48.6%, 0%, 1.6%) |
| CIE-LAB | lab(62.04, 39.44, -56.56) |
| CIE-LCH | lch(62.04, 68.95, 304.89°) |
| OKLab | oklab(68.89% 0.0717 -0.1597) |
| OKLCH | oklch(68.89% 0.175 294.2) |
| XYZ | xyz(40.3626, 30.4513, 94.9992) |
| Luminance | 0.3045 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.26
Lavender Blue
#8B88F8
ΔE00 5.60
Light Urple
#B36FF6
ΔE00 5.75
Light Purple
#BF77F6
ΔE00 6.33
Perrywinkle
#8F8CE7
ΔE00 6.33
Easter Purple
#C071FE
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A381FB #D9FB81
analogous
#819CFB #A381FB #E081FB
triadic
#A381FB #FBA381 #81FBA3
tetradic
#A381FB #FB819C #D9FB81 #81FBE0
square
#A381FB #FB819C #D9FB81 #81FBE0
split-complementary
#A381FB #FBE081 #9CFB81
monochromatic
#4C0AF7 #7846F9 #A381FB #CEBCFD #E9E1FE
Accessibility & contrast
On white
2.96
#A381FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#A381FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A381FB
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A381FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A381FB | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#8E99B2
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a381fb; /* rgb */ color: rgb(163, 129, 251); /* oklch */ color: oklch(68.9% 0.175 294.2);
Tailwind
colors: {
custom: {
50: '#c2a6fd',
500: '#a381fb',
950: '#000000',
},
}SCSS
$custom: #a381fb; $custom-light: #c2a6fd; $custom-dark: #000000;
JSON
{
"hex": "#a381fb",
"rgb": {
"r": 163,
"g": 129,
"b": 251
},
"hsl": {
"h": 256.721,
"s": 93.846,
"l": 74.51
},
"oklch": {
"l": 0.68886,
"c": 0.17506,
"h": 294.2
},
"luminance": 0.30452
}Semantic roles & 50–950 ramp
primary
#A381FB
secondary
#EDF6D5
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86