#A170BA#A170BA
#A170BA is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.3% C 0.120 H 313.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A170BA |
|---|---|
| RGB | rgb(161, 112, 186) |
| HSL | hsl(280, 35%, 58%) |
| HSV | hsv(280, 40%, 73%) |
| CMYK | cmyk(13.4%, 39.8%, 0%, 27.1%) |
| CIE-LAB | lab(54.77, 32.91, -31.53) |
| CIE-LCH | lch(54.77, 45.58, 316.22°) |
| OKLab | oklab(62.34% 0.083 -0.087) |
| OKLCH | oklch(62.34% 0.12 313.6) |
| XYZ | xyz(29.3536, 22.7112, 49.2822) |
| Luminance | 0.2271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Soft Purple
#A66FB5
ΔE00 1.90
Deep Lilac
#966EBD
ΔE00 3.02
Wisteria
#A87DC2
ΔE00 4.02
Dark Lilac
#9C6DA5
ΔE00 4.53
Amethyst
#9B5FC0
ΔE00 5.75
Deep Lavender
#8D5EB7
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170BA #89BA70
analogous
#7C70BA #A170BA #BA70AE
triadic
#A170BA #BAA170 #70BAA1
tetradic
#A170BA #BA7C70 #89BA70 #70AEBA
square
#A170BA #BA7C70 #89BA70 #70AEBA
split-complementary
#A170BA #AEBA70 #70BA7C
monochromatic
#623976 #844DA0 #A170BA #BC99CE #D7C3E2
Accessibility & contrast
On white
3.79
#A170BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#A170BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170BA
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170BA | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6380BD
Deuteranopia (green-blind)
#6F84B8
Tritanopia (blue-blind)
#9F7A8C
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a170ba; /* rgb */ color: rgb(161, 112, 186); /* oklch */ color: oklch(62.3% 0.120 313.6);
Tailwind
colors: {
custom: {
50: '#be9acf',
500: '#a170ba',
950: '#000000',
},
}SCSS
$custom: #a170ba; $custom-light: #be9acf; $custom-dark: #000000;
JSON
{
"hex": "#a170ba",
"rgb": {
"r": 161,
"g": 112,
"b": 186
},
"hsl": {
"h": 279.73,
"s": 34.906,
"l": 58.431
},
"oklch": {
"l": 0.62339,
"c": 0.12026,
"h": 313.6
},
"luminance": 0.22711
}Semantic roles & 50–950 ramp
primary
#A170BA
secondary
#BED2B4
accent
#CB5D82
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82