#8F2199#8F2199
#8F2199 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.197 H 324.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2199 |
|---|---|
| RGB | rgb(143, 33, 153) |
| HSL | hsl(295, 65%, 36%) |
| HSV | hsv(295, 78%, 60%) |
| CMYK | cmyk(6.5%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(36.42, 59.15, -41.17) |
| CIE-LCH | lch(36.42, 72.07, 325.16°) |
| OKLab | oklab(47.79% 0.1598 -0.1149) |
| OKLCH | oklch(47.79% 0.197 324.3) |
| XYZ | xyz(17.6208, 9.2284, 30.9840) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.26
Darkmagenta
#8B008B
ΔE00 3.57
Warm Purple
#952E8F
ΔE00 3.70
Purple (survey)
#7E1E9C
ΔE00 3.87
Purple
#800080
ΔE00 5.63
Barney
#AC1DB8
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2199 #2B9921
analogous
#532199 #8F2199 #992167
triadic
#8F2199 #998F21 #21998F
tetradic
#8F2199 #995321 #2B9921 #216799
square
#8F2199 #995321 #2B9921 #216799
split-complementary
#8F2199 #679921 #219953
monochromatic
#310B34 #601667 #8F2199 #BE2CCB #D059DB
Accessibility & contrast
On white
7.38
#8F2199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#8F2199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2199
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2199 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#395A96
Tritanopia (blue-blind)
#92385D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8f2199; /* rgb */ color: rgb(143, 33, 153); /* oklch */ color: oklch(47.8% 0.197 324.3);
Tailwind
colors: {
custom: {
50: '#b46ab8',
500: '#8f2199',
950: '#000000',
},
}SCSS
$custom: #8f2199; $custom-light: #b46ab8; $custom-dark: #000000;
JSON
{
"hex": "#8f2199",
"rgb": {
"r": 143,
"g": 33,
"b": 153
},
"hsl": {
"h": 295,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.47794,
"c": 0.1968,
"h": 324.3
},
"luminance": 0.09227
}Semantic roles & 50–950 ramp
primary
#8F2199
secondary
#5FBF56
accent
#E8404E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80