#A171BF#A171BF
#A171BF is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.8% C 0.125 H 311.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A171BF |
|---|---|
| RGB | rgb(161, 113, 191) |
| HSL | hsl(277, 38%, 60%) |
| HSV | hsv(277, 41%, 75%) |
| CMYK | cmyk(15.7%, 40.8%, 0%, 25.1%) |
| CIE-LAB | lab(55.23, 33.44, -33.70) |
| CIE-LCH | lch(55.23, 47.48, 314.79°) |
| OKLab | oklab(62.75% 0.0825 -0.0933) |
| OKLCH | oklch(62.75% 0.125 311.5) |
| XYZ | xyz(30.0054, 23.1494, 52.1677) |
| Luminance | 0.2315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.60
Soft Purple
#A66FB5
ΔE00 2.85
Wisteria
#A87DC2
ΔE00 3.84
Dark Lilac
#9C6DA5
ΔE00 5.57
Amethyst
#9B5FC0
ΔE00 5.62
Mediumpurple
#9370DB
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A171BF #8FBF71
analogous
#7A71BF #A171BF #BF71B6
triadic
#A171BF #BFA171 #71BFA1
tetradic
#A171BF #BF7A71 #8FBF71 #71B6BF
square
#A171BF #BF7A71 #8FBF71 #71B6BF
split-complementary
#A171BF #B6BF71 #71BF7A
monochromatic
#63387D #844BA7 #A171BF #BD9BD2 #D9C5E5
Accessibility & contrast
On white
3.73
#A171BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#A171BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A171BF
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A171BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A171BF | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6282C2
Deuteranopia (green-blind)
#6D85BD
Tritanopia (blue-blind)
#9E7C8F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a171bf; /* rgb */ color: rgb(161, 113, 191); /* oklch */ color: oklch(62.8% 0.125 311.5);
Tailwind
colors: {
custom: {
50: '#be9ad2',
500: '#a171bf',
950: '#000000',
},
}SCSS
$custom: #a171bf; $custom-light: #be9ad2; $custom-dark: #000000;
JSON
{
"hex": "#a171bf",
"rgb": {
"r": 161,
"g": 113,
"b": 191
},
"hsl": {
"h": 276.923,
"s": 37.864,
"l": 59.608
},
"oklch": {
"l": 0.62753,
"c": 0.12453,
"h": 311.5
},
"luminance": 0.23149
}Semantic roles & 50–950 ramp
primary
#A171BF
secondary
#C2D5B7
accent
#CE5A87
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82