#A170BB#A170BB
#A170BB is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.4% C 0.121 H 313.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #A170BB |
|---|---|
| RGB | rgb(161, 112, 187) |
| HSL | hsl(279, 36%, 59%) |
| HSV | hsv(279, 40%, 73%) |
| CMYK | cmyk(13.9%, 40.1%, 0%, 26.7%) |
| CIE-LAB | lab(54.82, 33.13, -32.04) |
| CIE-LCH | lch(54.82, 46.09, 315.96°) |
| OKLab | oklab(62.39% 0.0832 -0.0885) |
| OKLCH | oklch(62.39% 0.121 313.2) |
| XYZ | xyz(29.4603, 22.7538, 49.8441) |
| Luminance | 0.2275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.09
Deep Lilac
#966EBD
ΔE00 2.89
Wisteria
#A87DC2
ΔE00 4.02
Dark Lilac
#9C6DA5
ΔE00 4.75
Amethyst
#9B5FC0
ΔE00 5.64
Deep Lavender
#8D5EB7
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170BB #8ABB70
analogous
#7B70BB #A170BB #BB70AF
triadic
#A170BB #BBA170 #70BBA1
tetradic
#A170BB #BB7B70 #8ABB70 #70AFBB
square
#A170BB #BB7B70 #8ABB70 #70AFBB
split-complementary
#A170BB #AFBB70 #70BB7B
monochromatic
#623978 #844DA1 #A170BB #BC99CF #D8C3E2
Accessibility & contrast
On white
3.78
#A170BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#A170BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170BB
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170BB | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6280BE
Deuteranopia (green-blind)
#6E84B9
Tritanopia (blue-blind)
#9F7A8D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a170bb; /* rgb */ color: rgb(161, 112, 187); /* oklch */ color: oklch(62.4% 0.121 313.2);
Tailwind
colors: {
custom: {
50: '#be9acf',
500: '#a170bb',
950: '#000000',
},
}SCSS
$custom: #a170bb; $custom-light: #be9acf; $custom-dark: #000000;
JSON
{
"hex": "#a170bb",
"rgb": {
"r": 161,
"g": 112,
"b": 187
},
"hsl": {
"h": 279.2,
"s": 35.545,
"l": 58.627
},
"oklch": {
"l": 0.62387,
"c": 0.12146,
"h": 313.2
},
"luminance": 0.22753
}Semantic roles & 50–950 ramp
primary
#A170BB
secondary
#BFD2B5
accent
#CC5C83
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82