#8F1F98#8F1F98
#8F1F98 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.198 H 324.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1F98 |
|---|---|
| RGB | rgb(143, 31, 152) |
| HSL | hsl(296, 66%, 36%) |
| HSV | hsv(296, 80%, 60%) |
| CMYK | cmyk(5.9%, 79.6%, 0%, 40.4%) |
| CIE-LAB | lab(36.15, 59.57, -40.99) |
| CIE-LCH | lch(36.15, 72.31, 325.47°) |
| OKLab | oklab(47.58% 0.1615 -0.1143) |
| OKLCH | oklch(47.58% 0.198 324.7) |
| XYZ | xyz(17.4847, 9.0878, 30.5329) |
| Luminance | 0.0909 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.16
Darkmagenta
#8B008B
ΔE00 3.29
Warm Purple
#952E8F
ΔE00 3.74
Purple (survey)
#7E1E9C
ΔE00 3.86
Purple
#800080
ΔE00 5.38
Barney
#AC1DB8
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1F98 #28981F
analogous
#521F98 #8F1F98 #981F64
triadic
#8F1F98 #988F1F #1F988F
tetradic
#8F1F98 #98521F #28981F #1F6498
square
#8F1F98 #98521F #28981F #1F6498
split-complementary
#8F1F98 #64981F #1F9852
monochromatic
#2F0A32 #5F1565 #8F1F98 #BF29CB #D255DC
Accessibility & contrast
On white
7.45
#8F1F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#8F1F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1F98
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1F98 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#395995
Tritanopia (blue-blind)
#92375C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8f1f98; /* rgb */ color: rgb(143, 31, 152); /* oklch */ color: oklch(47.6% 0.198 324.7);
Tailwind
colors: {
custom: {
50: '#b469b7',
500: '#8f1f98',
950: '#000000',
},
}SCSS
$custom: #8f1f98; $custom-light: #b469b7; $custom-dark: #000000;
JSON
{
"hex": "#8f1f98",
"rgb": {
"r": 143,
"g": 31,
"b": 152
},
"hsl": {
"h": 295.537,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.47584,
"c": 0.19789,
"h": 324.7
},
"luminance": 0.09087
}Semantic roles & 50–950 ramp
primary
#8F1F98
secondary
#5BC053
accent
#E93F4B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80