#9C4ABA#9C4ABA
#9C4ABA is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.9% C 0.181 H 316.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9C4ABA |
|---|---|
| RGB | rgb(156, 74, 186) |
| HSL | hsl(284, 45%, 51%) |
| HSV | hsv(284, 60%, 73%) |
| CMYK | cmyk(16.1%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(46.33, 51.80, -44.88) |
| CIE-LCH | lch(46.33, 68.54, 319.09°) |
| OKLab | oklab(55.94% 0.13 -0.1256) |
| OKLCH | oklch(55.94% 0.181 316) |
| XYZ | xyz(25.0206, 15.5115, 48.1209) |
| Luminance | 0.1551 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.89
Medium Purple
#9E43A2
ΔE00 4.80
Amethyst
#9B5FC0
ΔE00 5.37
Darkorchid
#9932CC
ΔE00 5.41
Deep Lavender
#8D5EB7
ΔE00 5.67
Ugly Purple
#A442A0
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C4ABA #68BA4A
analogous
#644ABA #9C4ABA #BA4AA0
triadic
#9C4ABA #BA9C4A #4ABA9C
tetradic
#9C4ABA #BA644A #68BA4A #4AA0BA
square
#9C4ABA #BA644A #68BA4A #4AA0BA
split-complementary
#9C4ABA #A0BA4A #4ABA64
monochromatic
#532664 #783790 #9C4ABA #B476CB #CCA3DC
Accessibility & contrast
On white
5.12
#9C4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#9C4ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C4ABA
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C4ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C4ABA | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#9A5D7B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9c4aba; /* rgb */ color: rgb(156, 74, 186); /* oklch */ color: oklch(55.9% 0.181 316.0);
Tailwind
colors: {
custom: {
50: '#bc81cf',
500: '#9c4aba',
950: '#000000',
},
}SCSS
$custom: #9c4aba; $custom-light: #bc81cf; $custom-dark: #000000;
JSON
{
"hex": "#9c4aba",
"rgb": {
"r": 156,
"g": 74,
"b": 186
},
"hsl": {
"h": 283.929,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.55944,
"c": 0.18078,
"h": 316
},
"luminance": 0.15511
}Semantic roles & 50–950 ramp
primary
#9C4ABA
secondary
#A4C997
accent
#D55376
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82