#9C198A#9C198A
#9C198A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.199 H 334.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9C198A |
|---|---|
| RGB | rgb(156, 25, 138) |
| HSL | hsl(308, 72%, 35%) |
| HSV | hsv(308, 84%, 61%) |
| CMYK | cmyk(0%, 84%, 11.5%, 38.8%) |
| CIE-LAB | lab(37.11, 61.58, -30.75) |
| CIE-LCH | lch(37.11, 68.83, 333.47°) |
| OKLab | oklab(48.44% 0.1799 -0.0842) |
| OKLCH | oklch(48.44% 0.199 334.9) |
| XYZ | xyz(18.6456, 9.5999, 24.9108) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.68
Barney Purple
#A00498
ΔE00 2.72
Darkmagenta
#8B008B
ΔE00 4.75
Purple
#800080
ΔE00 6.50
Red Violet
#9E0168
ΔE00 7.28
Ugly Purple
#A442A0
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C198A #199C2B
analogous
#6C199C #9C198A #9C1949
triadic
#9C198A #8A9C19 #198A9C
tetradic
#9C198A #9C6C19 #199C2B #19499C
square
#9C198A #9C6C19 #199C2B #19499C
split-complementary
#9C198A #499C19 #199C6C
monochromatic
#33082D #67115B #9C198A #D121B9 #E24DCE
Accessibility & contrast
On white
7.19
#9C198A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9C198A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C198A
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C198A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C198A | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174B8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#A42753
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9c198a; /* rgb */ color: rgb(156, 25, 138); /* oklch */ color: oklch(48.4% 0.199 334.9);
Tailwind
colors: {
custom: {
50: '#bd69ac',
500: '#9c198a',
950: '#000000',
},
}SCSS
$custom: #9c198a; $custom-light: #bd69ac; $custom-dark: #000000;
JSON
{
"hex": "#9c198a",
"rgb": {
"r": 156,
"g": 25,
"b": 138
},
"hsl": {
"h": 308.244,
"s": 72.376,
"l": 35.49
},
"oklch": {
"l": 0.48442,
"c": 0.19865,
"h": 334.9
},
"luminance": 0.09598
}Semantic roles & 50–950 ramp
primary
#9C198A
secondary
#4CC45D
accent
#EF5239
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F