#9178AB#9178AB
#9178AB is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.5% C 0.080 H 306.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9178AB |
|---|---|
| RGB | rgb(145, 120, 171) |
| HSL | hsl(269, 23%, 57%) |
| HSV | hsv(269, 30%, 67%) |
| CMYK | cmyk(15.2%, 29.8%, 0%, 32.9%) |
| CIE-LAB | lab(54.44, 19.87, -23.54) |
| CIE-LCH | lch(54.44, 30.81, 310.17°) |
| OKLab | oklab(61.5% 0.0479 -0.0646) |
| OKLCH | oklch(61.5% 0.08 306.6) |
| XYZ | xyz(25.7428, 22.3931, 41.4863) |
| Luminance | 0.2239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Faded Purple
#916E99
ΔE00 5.10
Dark Lilac
#9C6DA5
ΔE00 5.32
Wisteria
#A87DC2
ΔE00 6.08
Deep Lilac
#966EBD
ΔE00 6.12
Heather
#A484AC
ΔE00 6.16
Soft Purple
#A66FB5
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9178AB #92AB78
analogous
#7878AB #9178AB #AB78AB
triadic
#9178AB #AB9178 #78AB91
tetradic
#9178AB #AB7878 #92AB78 #78ABAB
square
#9178AB #AB7878 #92AB78 #78ABAB
split-complementary
#9178AB #ABAB78 #78AB78
monochromatic
#544168 #72588E #9178AB #B09EC2 #CEC3DA
Accessibility & contrast
On white
3.83
#9178AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#9178AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9178AB
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9178AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9178AB | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E81AD
Deuteranopia (green-blind)
#7382A9
Tritanopia (blue-blind)
#8D7F8A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9178ab; /* rgb */ color: rgb(145, 120, 171); /* oklch */ color: oklch(61.5% 0.080 306.6);
Tailwind
colors: {
custom: {
50: '#b29fc4',
500: '#9178ab',
950: '#000000',
},
}SCSS
$custom: #9178ab; $custom-light: #b29fc4; $custom-dark: #000000;
JSON
{
"hex": "#9178ab",
"rgb": {
"r": 145,
"g": 120,
"b": 171
},
"hsl": {
"h": 269.412,
"s": 23.288,
"l": 57.059
},
"oklch": {
"l": 0.61503,
"c": 0.08039,
"h": 306.6
},
"luminance": 0.22393
}Semantic roles & 50–950 ramp
primary
#9178AB
secondary
#C0CAB5
accent
#C06895
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E12
muted
#807E81