#A371FB#A371FB
#A371FB is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.3% C 0.198 H 297.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A371FB |
|---|---|
| RGB | rgb(163, 113, 251) |
| HSL | hsl(262, 95%, 71%) |
| HSV | hsv(262, 55%, 98%) |
| CMYK | cmyk(35.1%, 55%, 0%, 1.6%) |
| CIE-LAB | lab(58.57, 48.28, -62.11) |
| CIE-LCH | lch(58.57, 78.67, 307.86°) |
| OKLab | oklab(66.31% 0.0914 -0.176) |
| OKLCH | oklch(66.31% 0.198 297.4) |
| XYZ | xyz(38.4176, 26.5613, 94.3509) |
| Luminance | 0.2656 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.26
Mediumpurple
#9370DB
ΔE00 5.11
Easter Purple
#C071FE
ΔE00 5.20
Lighter Purple
#A55AF4
ΔE00 5.58
Light Purple
#BF77F6
ΔE00 5.73
Periwinkle (survey)
#8E82FE
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A371FB #C9FB71
analogous
#7184FB #A371FB #E871FB
triadic
#A371FB #FBA371 #71FBA3
tetradic
#A371FB #FB7184 #C9FB71 #71FBE8
square
#A371FB #FB7184 #C9FB71 #71FBE8
split-complementary
#A371FB #FBE871 #84FB71
monochromatic
#5907EB #7C35F9 #A371FB #CAADFD #ECE1FE
Accessibility & contrast
On white
3.33
#A371FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#A371FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A371FB
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A371FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A371FB | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#328DFF
Deuteranopia (green-blind)
#438BF8
Tritanopia (blue-blind)
#8F8DAB
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a371fb; /* rgb */ color: rgb(163, 113, 251); /* oklch */ color: oklch(66.3% 0.198 297.4);
Tailwind
colors: {
custom: {
50: '#c39bfd',
500: '#a371fb',
950: '#000000',
},
}SCSS
$custom: #a371fb; $custom-light: #c39bfd; $custom-dark: #000000;
JSON
{
"hex": "#a371fb",
"rgb": {
"r": 163,
"g": 113,
"b": 251
},
"hsl": {
"h": 261.739,
"s": 94.521,
"l": 71.373
},
"oklch": {
"l": 0.66306,
"c": 0.1983,
"h": 297.4
},
"luminance": 0.26562
}Semantic roles & 50–950 ramp
primary
#A371FB
secondary
#E9F6D2
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86