#9E198A#9E198A
#9E198A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.8% C 0.200 H 335.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9E198A |
|---|---|
| RGB | rgb(158, 25, 138) |
| HSL | hsl(309, 73%, 36%) |
| HSV | hsv(309, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 12.7%, 38%) |
| CIE-LAB | lab(37.48, 62.01, -30.14) |
| CIE-LCH | lch(37.48, 68.94, 334.08°) |
| OKLab | oklab(48.77% 0.1818 -0.0824) |
| OKLCH | oklch(48.77% 0.2 335.6) |
| XYZ | xyz(19.0359, 9.8012, 24.9291) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.81
Barney Purple
#A00498
ΔE00 2.88
Darkmagenta
#8B008B
ΔE00 5.17
Purple
#800080
ΔE00 6.91
Red Violet
#9E0168
ΔE00 7.12
Ugly Purple
#A442A0
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E198A #199E2D
analogous
#6F199E #9E198A #9E1947
triadic
#9E198A #8A9E19 #198A9E
tetradic
#9E198A #9E6F19 #199E2D #19479E
square
#9E198A #9E6F19 #199E2D #19479E
split-complementary
#9E198A #479E19 #199E6F
monochromatic
#34082E #69115C #9E198A #D321B8 #E34ECD
Accessibility & contrast
On white
7.10
#9E198A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9E198A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E198A
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E198A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E198A | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#A62653
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e198a; /* rgb */ color: rgb(158, 25, 138); /* oklch */ color: oklch(48.8% 0.200 335.6);
Tailwind
colors: {
custom: {
50: '#bf69ac',
500: '#9e198a',
950: '#000000',
},
}SCSS
$custom: #9e198a; $custom-light: #bf69ac; $custom-dark: #000000;
JSON
{
"hex": "#9e198a",
"rgb": {
"r": 158,
"g": 25,
"b": 138
},
"hsl": {
"h": 309.023,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.48774,
"c": 0.19966,
"h": 335.6
},
"luminance": 0.09799
}Semantic roles & 50–950 ramp
primary
#9E198A
secondary
#4EC560
accent
#EF5438
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F