#8F2197#8F2197
#8F2197 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.195 H 325.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2197 |
|---|---|
| RGB | rgb(143, 33, 151) |
| HSL | hsl(296, 64%, 36%) |
| HSV | hsv(296, 78%, 59%) |
| CMYK | cmyk(5.3%, 78.1%, 0%, 40.8%) |
| CIE-LAB | lab(36.30, 58.80, -40.15) |
| CIE-LCH | lch(36.30, 71.20, 325.67°) |
| OKLab | oklab(47.67% 0.1599 -0.1119) |
| OKLCH | oklch(47.67% 0.195 325) |
| XYZ | xyz(17.4570, 9.1629, 30.1213) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.13
Darkmagenta
#8B008B
ΔE00 3.37
Warm Purple
#952E8F
ΔE00 3.45
Purple (survey)
#7E1E9C
ΔE00 4.06
Purple
#800080
ΔE00 5.43
Barney
#AC1DB8
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2197 #299721
analogous
#542197 #8F2197 #972164
triadic
#8F2197 #978F21 #21978F
tetradic
#8F2197 #975421 #299721 #216497
square
#8F2197 #975421 #299721 #216497
split-complementary
#8F2197 #649721 #219754
monochromatic
#300B33 #5F1665 #8F2197 #BF2CC9 #D258DA
Accessibility & contrast
On white
7.41
#8F2197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#8F2197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2197
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2197 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3B5A94
Tritanopia (blue-blind)
#92375C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8f2197; /* rgb */ color: rgb(143, 33, 151); /* oklch */ color: oklch(47.7% 0.195 325.0);
Tailwind
colors: {
custom: {
50: '#b46ab6',
500: '#8f2197',
950: '#000000',
},
}SCSS
$custom: #8f2197; $custom-light: #b46ab6; $custom-dark: #000000;
JSON
{
"hex": "#8f2197",
"rgb": {
"r": 143,
"g": 33,
"b": 151
},
"hsl": {
"h": 295.932,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.47666,
"c": 0.1952,
"h": 325
},
"luminance": 0.09162
}Semantic roles & 50–950 ramp
primary
#8F2197
secondary
#5CBE55
accent
#E7414C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80