#8F1F96#8F1F96
#8F1F96 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.5% C 0.196 H 325.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1F96 |
|---|---|
| RGB | rgb(143, 31, 150) |
| HSL | hsl(296, 66%, 35%) |
| HSV | hsv(296, 79%, 59%) |
| CMYK | cmyk(4.7%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(36.03, 59.22, -39.97) |
| CIE-LCH | lch(36.03, 71.45, 325.98°) |
| OKLab | oklab(47.46% 0.1616 -0.1114) |
| OKLCH | oklch(47.46% 0.196 325.4) |
| XYZ | xyz(17.3223, 9.0228, 29.6774) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.05
Darkmagenta
#8B008B
ΔE00 3.09
Warm Purple
#952E8F
ΔE00 3.51
Purple (survey)
#7E1E9C
ΔE00 4.07
Purple
#800080
ΔE00 5.18
Barney
#AC1DB8
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1F96 #26961F
analogous
#541F96 #8F1F96 #961F61
triadic
#8F1F96 #968F1F #1F968F
tetradic
#8F1F96 #96541F #26961F #1F6196
square
#8F1F96 #96541F #26961F #1F6196
split-complementary
#8F1F96 #61961F #1F9654
monochromatic
#2E0A31 #5F1563 #8F1F96 #BF29C9 #D454DC
Accessibility & contrast
On white
7.49
#8F1F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#8F1F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1F96
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1F96 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#3B5993
Tritanopia (blue-blind)
#92355B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8f1f96; /* rgb */ color: rgb(143, 31, 150); /* oklch */ color: oklch(47.5% 0.196 325.4);
Tailwind
colors: {
custom: {
50: '#b469b5',
500: '#8f1f96',
950: '#000000',
},
}SCSS
$custom: #8f1f96; $custom-light: #b469b5; $custom-dark: #000000;
JSON
{
"hex": "#8f1f96",
"rgb": {
"r": 143,
"g": 31,
"b": 150
},
"hsl": {
"h": 296.471,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.47456,
"c": 0.1963,
"h": 325.4
},
"luminance": 0.09022
}Semantic roles & 50–950 ramp
primary
#8F1F96
secondary
#58BF52
accent
#E93F49
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80