#8F2599#8F2599
#8F2599 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.193 H 324.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2599 |
|---|---|
| RGB | rgb(143, 37, 153) |
| HSL | hsl(295, 61%, 37%) |
| HSV | hsv(295, 76%, 60%) |
| CMYK | cmyk(6.5%, 75.8%, 0%, 40%) |
| CIE-LAB | lab(36.86, 57.88, -40.46) |
| CIE-LCH | lch(36.86, 70.62, 325.04°) |
| OKLab | oklab(48.11% 0.1563 -0.1128) |
| OKLCH | oklch(48.11% 0.193 324.2) |
| XYZ | xyz(17.7385, 9.4638, 31.0232) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.37
Warm Purple
#952E8F
ΔE00 3.37
Darkmagenta
#8B008B
ΔE00 3.97
Purple (survey)
#7E1E9C
ΔE00 4.12
Purple
#800080
ΔE00 5.97
Barney
#AC1DB8
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2599 #2F9925
analogous
#552599 #8F2599 #992569
triadic
#8F2599 #998F25 #25998F
tetradic
#8F2599 #995525 #2F9925 #256999
square
#8F2599 #995525 #2F9925 #256999
split-complementary
#8F2599 #699925 #259955
monochromatic
#330D36 #611968 #8F2599 #BD31CA #CE60D9
Accessibility & contrast
On white
7.26
#8F2599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#8F2599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2599
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2599 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#3B5B96
Tritanopia (blue-blind)
#923A5E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8f2599; /* rgb */ color: rgb(143, 37, 153); /* oklch */ color: oklch(48.1% 0.193 324.2);
Tailwind
colors: {
custom: {
50: '#b36cb7',
500: '#8f2599',
950: '#000000',
},
}SCSS
$custom: #8f2599; $custom-light: #b36cb7; $custom-dark: #000000;
JSON
{
"hex": "#8f2599",
"rgb": {
"r": 143,
"g": 37,
"b": 153
},
"hsl": {
"h": 294.828,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.48108,
"c": 0.19278,
"h": 324.2
},
"luminance": 0.09463
}Semantic roles & 50–950 ramp
primary
#8F2599
secondary
#65BE5C
accent
#E44451
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80