#8F2597#8F2597
#8F2597 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.191 H 324.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2597 |
|---|---|
| RGB | rgb(143, 37, 151) |
| HSL | hsl(296, 61%, 37%) |
| HSV | hsv(296, 75%, 59%) |
| CMYK | cmyk(5.3%, 75.5%, 0%, 40.8%) |
| CIE-LAB | lab(36.74, 57.52, -39.44) |
| CIE-LCH | lch(36.74, 69.75, 325.56°) |
| OKLab | oklab(47.98% 0.1564 -0.1099) |
| OKLCH | oklch(47.98% 0.191 324.9) |
| XYZ | xyz(17.5747, 9.3983, 30.1605) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.10
Barney Purple
#A00498
ΔE00 3.26
Darkmagenta
#8B008B
ΔE00 3.80
Purple (survey)
#7E1E9C
ΔE00 4.31
Purple
#800080
ΔE00 5.78
Barney
#AC1DB8
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2597 #2D9725
analogous
#562597 #8F2597 #972566
triadic
#8F2597 #978F25 #25978F
tetradic
#8F2597 #975625 #2D9725 #256697
square
#8F2597 #975625 #2D9725 #256697
split-complementary
#8F2597 #669725 #259756
monochromatic
#320D35 #601966 #8F2597 #BE31C8 #CF5FD8
Accessibility & contrast
On white
7.29
#8F2597 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#8F2597 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2597
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2597 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2597 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#3D5B94
Tritanopia (blue-blind)
#92395C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8f2597; /* rgb */ color: rgb(143, 37, 151); /* oklch */ color: oklch(48.0% 0.191 324.9);
Tailwind
colors: {
custom: {
50: '#b36cb6',
500: '#8f2597',
950: '#000000',
},
}SCSS
$custom: #8f2597; $custom-light: #b36cb6; $custom-dark: #000000;
JSON
{
"hex": "#8f2597",
"rgb": {
"r": 143,
"g": 37,
"b": 151
},
"hsl": {
"h": 295.789,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.47981,
"c": 0.19114,
"h": 324.9
},
"luminance": 0.09397
}Semantic roles & 50–950 ramp
primary
#8F2597
secondary
#62BD5B
accent
#E4444F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80