#8F2196#8F2196
#8F2196 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.194 H 325.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2196 |
|---|---|
| RGB | rgb(143, 33, 150) |
| HSL | hsl(296, 64%, 36%) |
| HSV | hsv(296, 78%, 59%) |
| CMYK | cmyk(4.7%, 78%, 0%, 41.2%) |
| CIE-LAB | lab(36.23, 58.63, -39.64) |
| CIE-LCH | lch(36.23, 70.77, 325.94°) |
| OKLab | oklab(47.6% 0.16 -0.1104) |
| OKLCH | oklch(47.6% 0.194 325.4) |
| XYZ | xyz(17.3762, 9.1305, 29.6954) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.08
Darkmagenta
#8B008B
ΔE00 3.29
Warm Purple
#952E8F
ΔE00 3.33
Purple (survey)
#7E1E9C
ΔE00 4.17
Purple
#800080
ΔE00 5.33
Barney
#AC1DB8
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2196 #289621
analogous
#542196 #8F2196 #962162
triadic
#8F2196 #968F21 #21968F
tetradic
#8F2196 #965421 #289621 #216296
square
#8F2196 #965421 #289621 #216296
split-complementary
#8F2196 #629621 #219654
monochromatic
#2F0B32 #5F1664 #8F2196 #BF2CC8 #D257DA
Accessibility & contrast
On white
7.43
#8F2196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#8F2196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2196
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2196 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#3B5A93
Tritanopia (blue-blind)
#92375B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8f2196; /* rgb */ color: rgb(143, 33, 150); /* oklch */ color: oklch(47.6% 0.194 325.4);
Tailwind
colors: {
custom: {
50: '#b46ab5',
500: '#8f2196',
950: '#000000',
},
}SCSS
$custom: #8f2196; $custom-light: #b46ab5; $custom-dark: #000000;
JSON
{
"hex": "#8f2196",
"rgb": {
"r": 143,
"g": 33,
"b": 150
},
"hsl": {
"h": 296.41,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.47602,
"c": 0.1944,
"h": 325.4
},
"luminance": 0.09129
}Semantic roles & 50–950 ramp
primary
#8F2196
secondary
#5BBE55
accent
#E7414B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80