#A178BF#A178BF
#A178BF is a light, moderate violet. Relative luminance 0.248; OKLCH L 64.0% C 0.112 H 310.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A178BF |
|---|---|
| RGB | rgb(161, 120, 191) |
| HSL | hsl(275, 36%, 61%) |
| HSV | hsv(275, 37%, 75%) |
| CMYK | cmyk(15.7%, 37.2%, 0%, 25.1%) |
| CIE-LAB | lab(56.85, 29.47, -31.16) |
| CIE-LCH | lch(56.85, 42.89, 313.41°) |
| OKLab | oklab(63.98% 0.0722 -0.086) |
| OKLCH | oklch(63.98% 0.112 310) |
| XYZ | xyz(30.8167, 24.7720, 52.4382) |
| Luminance | 0.2477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.00
Soft Purple
#A66FB5
ΔE00 3.68
Deep Lilac
#966EBD
ΔE00 3.90
Dark Lilac
#9C6DA5
ΔE00 5.92
Pale Purple
#B790D4
ΔE00 7.60
Heather
#A484AC
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A178BF #96BF78
analogous
#7D78BF #A178BF #BF78B9
triadic
#A178BF #BFA178 #78BFA1
tetradic
#A178BF #BF7D78 #96BF78 #78B9BF
square
#A178BF #BF7D78 #96BF78 #78B9BF
split-complementary
#A178BF #B9BF78 #78BF7D
monochromatic
#643D80 #8450A9 #A178BF #BEA2D3 #DBCBE6
Accessibility & contrast
On white
3.53
#A178BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#A178BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A178BF
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A178BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A178BF | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A86C2
Deuteranopia (green-blind)
#7489BD
Tritanopia (blue-blind)
#9E8293
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a178bf; /* rgb */ color: rgb(161, 120, 191); /* oklch */ color: oklch(64.0% 0.112 310.0);
Tailwind
colors: {
custom: {
50: '#be9fd2',
500: '#a178bf',
950: '#000000',
},
}SCSS
$custom: #a178bf; $custom-light: #be9fd2; $custom-dark: #000000;
JSON
{
"hex": "#a178bf",
"rgb": {
"r": 161,
"g": 120,
"b": 191
},
"hsl": {
"h": 274.648,
"s": 35.678,
"l": 60.98
},
"oklch": {
"l": 0.63982,
"c": 0.11229,
"h": 310
},
"luminance": 0.24772
}Semantic roles & 50–950 ramp
primary
#A178BF
secondary
#C7D7BC
accent
#AF3769
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82