#A178BB#A178BB
#A178BB is a light, moderate violet. Relative luminance 0.246; OKLCH L 63.8% C 0.107 H 311.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A178BB |
|---|---|
| RGB | rgb(161, 120, 187) |
| HSL | hsl(277, 33%, 60%) |
| HSV | hsv(277, 36%, 73%) |
| CMYK | cmyk(13.9%, 35.8%, 0%, 26.7%) |
| CIE-LAB | lab(56.68, 28.59, -29.14) |
| CIE-LCH | lch(56.68, 40.82, 314.45°) |
| OKLab | oklab(63.8% 0.0712 -0.0802) |
| OKLCH | oklch(63.8% 0.107 311.6) |
| XYZ | xyz(30.3825, 24.5983, 50.1515) |
| Luminance | 0.2460 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.02
Soft Purple
#A66FB5
ΔE00 3.29
Deep Lilac
#966EBD
ΔE00 4.30
Dark Lilac
#9C6DA5
ΔE00 5.21
Heather
#A484AC
ΔE00 6.98
Faded Purple
#916E99
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A178BB #92BB78
analogous
#7F78BB #A178BB #BB78B4
triadic
#A178BB #BBA178 #78BBA1
tetradic
#A178BB #BB7F78 #92BB78 #78B4BB
square
#A178BB #BB7F78 #92BB78 #78B4BB
split-complementary
#A178BB #B4BB78 #78BB7F
monochromatic
#633E7B #8452A3 #A178BB #BDA1D0 #DAC9E4
Accessibility & contrast
On white
3.55
#A178BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#A178BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A178BB
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A178BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A178BB | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C86BE
Deuteranopia (green-blind)
#7589B9
Tritanopia (blue-blind)
#9E8191
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a178bb; /* rgb */ color: rgb(161, 120, 187); /* oklch */ color: oklch(63.8% 0.107 311.6);
Tailwind
colors: {
custom: {
50: '#be9fcf',
500: '#a178bb',
950: '#000000',
},
}SCSS
$custom: #a178bb; $custom-light: #be9fcf; $custom-dark: #000000;
JSON
{
"hex": "#a178bb",
"rgb": {
"r": 161,
"g": 120,
"b": 187
},
"hsl": {
"h": 276.716,
"s": 33.005,
"l": 60.196
},
"oklch": {
"l": 0.63797,
"c": 0.10731,
"h": 311.6
},
"luminance": 0.24598
}Semantic roles & 50–950 ramp
primary
#A178BB
secondary
#C5D4BB
accent
#AC3A66
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82