#8F2997#8F2997
#8F2997 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.187 H 324.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2997 |
|---|---|
| RGB | rgb(143, 41, 151) |
| HSL | hsl(296, 57%, 38%) |
| HSV | hsv(296, 73%, 59%) |
| CMYK | cmyk(5.3%, 72.8%, 0%, 40.8%) |
| CIE-LAB | lab(37.23, 56.13, -38.67) |
| CIE-LCH | lch(37.23, 68.16, 325.44°) |
| OKLab | oklab(48.33% 0.1526 -0.1076) |
| OKLCH | oklch(48.33% 0.187 324.8) |
| XYZ | xyz(17.7061, 9.6610, 30.2043) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.76
Barney Purple
#A00498
ΔE00 3.48
Darkmagenta
#8B008B
ΔE00 4.29
Purple (survey)
#7E1E9C
ΔE00 4.64
Purply
#983FB2
ΔE00 6.19
Purple
#800080
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2997 #319729
analogous
#582997 #8F2997 #972968
triadic
#8F2997 #978F29 #29978F
tetradic
#8F2997 #975829 #319729 #296897
square
#8F2997 #975829 #319729 #296897
split-complementary
#8F2997 #689729 #299758
monochromatic
#340F37 #611C67 #8F2997 #BD36C7 #CD65D5
Accessibility & contrast
On white
7.16
#8F2997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#8F2997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2997
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2997 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#06509A
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#923C5D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8f2997; /* rgb */ color: rgb(143, 41, 151); /* oklch */ color: oklch(48.3% 0.187 324.8);
Tailwind
colors: {
custom: {
50: '#b36db6',
500: '#8f2997',
950: '#000000',
},
}SCSS
$custom: #8f2997; $custom-light: #b36db6; $custom-dark: #000000;
JSON
{
"hex": "#8f2997",
"rgb": {
"r": 143,
"g": 41,
"b": 151
},
"hsl": {
"h": 295.636,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.48329,
"c": 0.18671,
"h": 324.8
},
"luminance": 0.0966
}Semantic roles & 50–950 ramp
primary
#8F2997
secondary
#67BB61
accent
#E14752
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80