#A371F6#A371F6
#A371F6 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.0% C 0.192 H 298.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A371F6 |
|---|---|
| RGB | rgb(163, 113, 246) |
| HSL | hsl(263, 88%, 70%) |
| HSV | hsv(263, 54%, 96%) |
| CMYK | cmyk(33.7%, 54.1%, 0%, 3.5%) |
| CIE-LAB | lab(58.27, 47.03, -59.82) |
| CIE-LCH | lch(58.27, 76.09, 308.18°) |
| OKLab | oklab(66% 0.0912 -0.1693) |
| OKLCH | oklch(66% 0.192 298.3) |
| XYZ | xyz(37.6398, 26.2502, 90.2547) |
| Luminance | 0.2625 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.02
Mediumpurple
#9370DB
ΔE00 4.56
Easter Purple
#C071FE
ΔE00 5.14
Lighter Purple
#A55AF4
ΔE00 5.44
Light Purple
#BF77F6
ΔE00 5.53
Bright Lavender
#C760FF
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A371F6 #C4F671
analogous
#7182F6 #A371F6 #E571F6
triadic
#A371F6 #F6A371 #71F6A3
tetradic
#A371F6 #F67182 #C4F671 #71F6E5
square
#A371F6 #F67182 #C4F671 #71F6E5
split-complementary
#A371F6 #F6E571 #82F671
monochromatic
#5C0EDE #7E37F2 #A371F6 #C8ABFA #ECE2FD
Accessibility & contrast
On white
3.36
#A371F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#A371F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A371F6
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A371F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A371F6 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#398CFA
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#918CA9
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a371f6; /* rgb */ color: rgb(163, 113, 246); /* oklch */ color: oklch(66.0% 0.192 298.3);
Tailwind
colors: {
custom: {
50: '#c29bfa',
500: '#a371f6',
950: '#000000',
},
}SCSS
$custom: #a371f6; $custom-light: #c29bfa; $custom-dark: #000000;
JSON
{
"hex": "#a371f6",
"rgb": {
"r": 163,
"g": 113,
"b": 246
},
"hsl": {
"h": 262.556,
"s": 88.079,
"l": 70.392
},
"oklch": {
"l": 0.65996,
"c": 0.19228,
"h": 298.3
},
"luminance": 0.26251
}Semantic roles & 50–950 ramp
primary
#A371F6
secondary
#E6F4CF
accent
#E5018F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85