#A371F7#A371F7
#A371F7 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.1% C 0.193 H 298.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A371F7 |
|---|---|
| RGB | rgb(163, 113, 247) |
| HSL | hsl(262, 89%, 71%) |
| HSV | hsv(262, 54%, 97%) |
| CMYK | cmyk(34%, 54.3%, 0%, 3.1%) |
| CIE-LAB | lab(58.33, 47.28, -60.28) |
| CIE-LCH | lch(58.33, 76.61, 308.11°) |
| OKLab | oklab(66.06% 0.0913 -0.1706) |
| OKLCH | oklch(66.06% 0.193 298.1) |
| XYZ | xyz(37.7937, 26.3117, 91.0652) |
| Luminance | 0.2631 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.06
Mediumpurple
#9370DB
ΔE00 4.67
Easter Purple
#C071FE
ΔE00 5.14
Lighter Purple
#A55AF4
ΔE00 5.46
Light Purple
#BF77F6
ΔE00 5.56
Periwinkle (survey)
#8E82FE
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A371F7 #C5F771
analogous
#7182F7 #A371F7 #E671F7
triadic
#A371F7 #F7A371 #71F7A3
tetradic
#A371F7 #F77182 #C5F771 #71F7E6
square
#A371F7 #F77182 #C5F771 #71F7E6
split-complementary
#A371F7 #F7E671 #82F771
monochromatic
#5C0DE1 #7D37F4 #A371F7 #C9ABFA #ECE2FD
Accessibility & contrast
On white
3.35
#A371F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#A371F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A371F7
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A371F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A371F7 | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#388CFC
Deuteranopia (green-blind)
#488BF4
Tritanopia (blue-blind)
#908CA9
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a371f7; /* rgb */ color: rgb(163, 113, 247); /* oklch */ color: oklch(66.1% 0.193 298.1);
Tailwind
colors: {
custom: {
50: '#c29bfa',
500: '#a371f7',
950: '#000000',
},
}SCSS
$custom: #a371f7; $custom-light: #c29bfa; $custom-dark: #000000;
JSON
{
"hex": "#a371f7",
"rgb": {
"r": 163,
"g": 113,
"b": 247
},
"hsl": {
"h": 262.388,
"s": 89.333,
"l": 70.588
},
"oklch": {
"l": 0.66058,
"c": 0.19349,
"h": 298.1
},
"luminance": 0.26312
}Semantic roles & 50–950 ramp
primary
#A371F7
secondary
#E7F4D0
accent
#E60090
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85