#8F1F97#8F1F97
#8F1F97 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.197 H 325.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1F97 |
|---|---|
| RGB | rgb(143, 31, 151) |
| HSL | hsl(296, 66%, 36%) |
| HSV | hsv(296, 79%, 59%) |
| CMYK | cmyk(5.3%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(36.09, 59.40, -40.48) |
| CIE-LCH | lch(36.09, 71.88, 325.72°) |
| OKLab | oklab(47.52% 0.1616 -0.1128) |
| OKLCH | oklch(47.52% 0.197 325.1) |
| XYZ | xyz(17.4032, 9.0551, 30.1033) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.10
Darkmagenta
#8B008B
ΔE00 3.19
Warm Purple
#952E8F
ΔE00 3.63
Purple (survey)
#7E1E9C
ΔE00 3.96
Purple
#800080
ΔE00 5.27
Barney
#AC1DB8
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1F97 #27971F
analogous
#531F97 #8F1F97 #971F63
triadic
#8F1F97 #978F1F #1F978F
tetradic
#8F1F97 #97531F #27971F #1F6397
square
#8F1F97 #97531F #27971F #1F6397
split-complementary
#8F1F97 #63971F #1F9753
monochromatic
#2F0A31 #5F1564 #8F1F97 #BF29CA #D354DC
Accessibility & contrast
On white
7.47
#8F1F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#8F1F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1F97
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1F97 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#3A5994
Tritanopia (blue-blind)
#92365B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8f1f97; /* rgb */ color: rgb(143, 31, 151); /* oklch */ color: oklch(47.5% 0.197 325.1);
Tailwind
colors: {
custom: {
50: '#b469b6',
500: '#8f1f97',
950: '#000000',
},
}SCSS
$custom: #8f1f97; $custom-light: #b469b6; $custom-dark: #000000;
JSON
{
"hex": "#8f1f97",
"rgb": {
"r": 143,
"g": 31,
"b": 151
},
"hsl": {
"h": 296,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.4752,
"c": 0.19709,
"h": 325.1
},
"luminance": 0.09054
}Semantic roles & 50–950 ramp
primary
#8F1F97
secondary
#5ABF52
accent
#E93F4A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80