#A173BB#A173BB
#A173BB is a light, moderate violet. Relative luminance 0.234; OKLCH L 62.9% C 0.116 H 312.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A173BB |
|---|---|
| RGB | rgb(161, 115, 187) |
| HSL | hsl(278, 35%, 59%) |
| HSV | hsv(278, 39%, 73%) |
| CMYK | cmyk(13.9%, 38.5%, 0%, 26.7%) |
| CIE-LAB | lab(55.51, 31.43, -30.96) |
| CIE-LCH | lch(55.51, 44.12, 315.43°) |
| OKLab | oklab(62.91% 0.0787 -0.0854) |
| OKLCH | oklch(62.91% 0.116 312.7) |
| XYZ | xyz(29.7968, 23.4269, 49.9562) |
| Luminance | 0.2343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.28
Wisteria
#A87DC2
ΔE00 3.19
Deep Lilac
#966EBD
ΔE00 3.26
Dark Lilac
#9C6DA5
ΔE00 4.77
Amethyst
#9B5FC0
ΔE00 6.54
Faded Purple
#916E99
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A173BB #8DBB73
analogous
#7D73BB #A173BB #BB73B1
triadic
#A173BB #BBA173 #73BBA1
tetradic
#A173BB #BB7D73 #8DBB73 #73B1BB
square
#A173BB #BB7D73 #8DBB73 #73B1BB
split-complementary
#A173BB #B1BB73 #73BB7D
monochromatic
#623B79 #844FA2 #A173BB #BD9CCF #D8C5E3
Accessibility & contrast
On white
3.69
#A173BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#A173BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A173BB
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A173BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A173BB | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6682BE
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#9F7D8E
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a173bb; /* rgb */ color: rgb(161, 115, 187); /* oklch */ color: oklch(62.9% 0.116 312.7);
Tailwind
colors: {
custom: {
50: '#be9ccf',
500: '#a173bb',
950: '#000000',
},
}SCSS
$custom: #a173bb; $custom-light: #be9ccf; $custom-dark: #000000;
JSON
{
"hex": "#a173bb",
"rgb": {
"r": 161,
"g": 115,
"b": 187
},
"hsl": {
"h": 278.333,
"s": 34.615,
"l": 59.216
},
"oklch": {
"l": 0.62909,
"c": 0.11617,
"h": 312.7
},
"luminance": 0.23426
}Semantic roles & 50–950 ramp
primary
#A173BB
secondary
#C1D3B7
accent
#CB5D85
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82