#A171D0#A171D0
#A171D0 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.6% C 0.145 H 306.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A171D0 |
|---|---|
| RGB | rgb(161, 113, 208) |
| HSL | hsl(270, 50%, 63%) |
| HSV | hsv(270, 46%, 82%) |
| CMYK | cmyk(22.6%, 45.7%, 0%, 18.4%) |
| CIE-LAB | lab(56.03, 37.31, -42.11) |
| CIE-LCH | lch(56.03, 56.27, 311.54°) |
| OKLab | oklab(63.62% 0.0854 -0.1176) |
| OKLCH | oklch(63.62% 0.145 306) |
| XYZ | xyz(31.9859, 23.9416, 62.5984) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.69
Mediumpurple
#9370DB
ΔE00 4.11
Wisteria
#A87DC2
ΔE00 5.62
Amethyst
#9B5FC0
ΔE00 5.71
Soft Purple
#A66FB5
ΔE00 6.08
Light Urple
#B36FF6
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A171D0 #A0D071
analogous
#7171D0 #A171D0 #D071CF
triadic
#A171D0 #D0A171 #71D0A1
tetradic
#A171D0 #D07171 #A0D071 #71CFD0
square
#A171D0 #D07171 #A0D071 #71CFD0
split-complementary
#A171D0 #CFD071 #71D071
monochromatic
#643195 #8343C1 #A171D0 #BF9FDF #DECDEE
Accessibility & contrast
On white
3.63
#A171D0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#A171D0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A171D0
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A171D0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A171D0 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5985D3
Deuteranopia (green-blind)
#6587CE
Tritanopia (blue-blind)
#9A8197
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a171d0; /* rgb */ color: rgb(161, 113, 208); /* oklch */ color: oklch(63.6% 0.145 306.0);
Tailwind
colors: {
custom: {
50: '#bf9bdf',
500: '#a171d0',
950: '#000000',
},
}SCSS
$custom: #a171d0; $custom-light: #bf9bdf; $custom-dark: #000000;
JSON
{
"hex": "#a171d0",
"rgb": {
"r": 161,
"g": 113,
"b": 208
},
"hsl": {
"h": 270.316,
"s": 50.265,
"l": 62.941
},
"oklch": {
"l": 0.6362,
"c": 0.14536,
"h": 306
},
"luminance": 0.23941
}Semantic roles & 50–950 ramp
primary
#A171D0
secondary
#CEDFBD
accent
#BE2872
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83