#A178BD#A178BD
#A178BD is a light, moderate violet. Relative luminance 0.247; OKLCH L 63.9% C 0.110 H 310.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A178BD |
|---|---|
| RGB | rgb(161, 120, 189) |
| HSL | hsl(276, 34%, 61%) |
| HSV | hsv(276, 37%, 74%) |
| CMYK | cmyk(14.8%, 36.5%, 0%, 25.9%) |
| CIE-LAB | lab(56.77, 29.03, -30.15) |
| CIE-LCH | lch(56.77, 41.86, 313.91°) |
| OKLab | oklab(63.89% 0.0717 -0.0831) |
| OKLCH | oklch(63.89% 0.11 310.8) |
| XYZ | xyz(30.5981, 24.6846, 51.2869) |
| Luminance | 0.2468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 1.96
Soft Purple
#A66FB5
ΔE00 3.46
Deep Lilac
#966EBD
ΔE00 4.08
Dark Lilac
#9C6DA5
ΔE00 5.56
Heather
#A484AC
ΔE00 7.36
Pale Purple
#B790D4
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A178BD #94BD78
analogous
#7E78BD #A178BD #BD78B6
triadic
#A178BD #BDA178 #78BDA1
tetradic
#A178BD #BD7E78 #94BD78 #78B6BD
square
#A178BD #BD7E78 #94BD78 #78B6BD
split-complementary
#A178BD #B6BD78 #78BD7E
monochromatic
#633D7D #8451A6 #A178BD #BEA1D1 #DACAE5
Accessibility & contrast
On white
3.54
#A178BD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#A178BD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A178BD
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A178BD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A178BD | 1.00 | 3.54 | 5.94 | 5.94 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B86C0
Deuteranopia (green-blind)
#7589BB
Tritanopia (blue-blind)
#9E8292
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a178bd; /* rgb */ color: rgb(161, 120, 189); /* oklch */ color: oklch(63.9% 0.110 310.8);
Tailwind
colors: {
custom: {
50: '#be9fd1',
500: '#a178bd',
950: '#000000',
},
}SCSS
$custom: #a178bd; $custom-light: #be9fd1; $custom-dark: #000000;
JSON
{
"hex": "#a178bd",
"rgb": {
"r": 161,
"g": 120,
"b": 189
},
"hsl": {
"h": 275.652,
"s": 34.328,
"l": 60.588
},
"oklch": {
"l": 0.63889,
"c": 0.10979,
"h": 310.8
},
"luminance": 0.24684
}Semantic roles & 50–950 ramp
primary
#A178BD
secondary
#C6D6BB
accent
#AD3868
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82