#A371F9#A371F9
#A371F9 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.2% C 0.196 H 297.8°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A371F9 |
|---|---|
| RGB | rgb(163, 113, 249) |
| HSL | hsl(262, 92%, 71%) |
| HSV | hsv(262, 55%, 98%) |
| CMYK | cmyk(34.5%, 54.6%, 0%, 2.4%) |
| CIE-LAB | lab(58.45, 47.78, -61.20) |
| CIE-LCH | lch(58.45, 77.64, 307.98°) |
| OKLab | oklab(66.18% 0.0913 -0.1733) |
| OKLCH | oklch(66.18% 0.196 297.8) |
| XYZ | xyz(38.1040, 26.4359, 92.6993) |
| Luminance | 0.2644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.15
Mediumpurple
#9370DB
ΔE00 4.89
Easter Purple
#C071FE
ΔE00 5.16
Lighter Purple
#A55AF4
ΔE00 5.51
Light Purple
#BF77F6
ΔE00 5.64
Periwinkle (survey)
#8E82FE
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A371F9 #C7F971
analogous
#7183F9 #A371F9 #E771F9
triadic
#A371F9 #F9A371 #71F9A3
tetradic
#A371F9 #F97183 #C7F971 #71F9E7
square
#A371F9 #F97183 #C7F971 #71F9E7
split-complementary
#A371F9 #F9E771 #83F971
monochromatic
#5B0AE6 #7D36F7 #A371F9 #C9ACFB #ECE2FE
Accessibility & contrast
On white
3.34
#A371F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#A371F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A371F9
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A371F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A371F9 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#358DFE
Deuteranopia (green-blind)
#468BF6
Tritanopia (blue-blind)
#908DAA
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a371f9; /* rgb */ color: rgb(163, 113, 249); /* oklch */ color: oklch(66.2% 0.196 297.8);
Tailwind
colors: {
custom: {
50: '#c29bfc',
500: '#a371f9',
950: '#000000',
},
}SCSS
$custom: #a371f9; $custom-light: #c29bfc; $custom-dark: #000000;
JSON
{
"hex": "#a371f9",
"rgb": {
"r": 163,
"g": 113,
"b": 249
},
"hsl": {
"h": 262.059,
"s": 91.892,
"l": 70.98
},
"oklch": {
"l": 0.66181,
"c": 0.1959,
"h": 297.8
},
"luminance": 0.26436
}Semantic roles & 50–950 ramp
primary
#A371F9
secondary
#E8F5D1
accent
#E60091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85