#8C2599#8C2599
#8C2599 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.191 H 323.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2599 |
|---|---|
| RGB | rgb(140, 37, 153) |
| HSL | hsl(293, 61%, 37%) |
| HSV | hsv(293, 76%, 60%) |
| CMYK | cmyk(8.5%, 75.8%, 0%, 40%) |
| CIE-LAB | lab(36.37, 57.24, -41.29) |
| CIE-LCH | lch(36.37, 70.58, 324.20°) |
| OKLab | oklab(47.66% 0.1528 -0.1153) |
| OKLCH | oklch(47.66% 0.191 323) |
| XYZ | xyz(17.2260, 9.1995, 30.9992) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.51
Darkmagenta
#8B008B
ΔE00 3.86
Barney Purple
#A00498
ΔE00 3.88
Warm Purple
#952E8F
ΔE00 3.88
Purple
#800080
ΔE00 5.74
Purply
#983FB2
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2599 #329925
analogous
#522599 #8C2599 #99256C
triadic
#8C2599 #998C25 #25998C
tetradic
#8C2599 #995225 #329925 #256C99
square
#8C2599 #995225 #329925 #256C99
split-complementary
#8C2599 #6C9925 #259952
monochromatic
#320D36 #5F1968 #8C2599 #B931CA #CB60D9
Accessibility & contrast
On white
7.40
#8C2599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#8C2599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C2599
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2599 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#8E3B5E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8c2599; /* rgb */ color: rgb(140, 37, 153); /* oklch */ color: oklch(47.7% 0.191 323.0);
Tailwind
colors: {
custom: {
50: '#b16bb8',
500: '#8c2599',
950: '#000000',
},
}SCSS
$custom: #8c2599; $custom-light: #b16bb8; $custom-dark: #000000;
JSON
{
"hex": "#8c2599",
"rgb": {
"r": 140,
"g": 37,
"b": 153
},
"hsl": {
"h": 293.276,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.47657,
"c": 0.19145,
"h": 323
},
"luminance": 0.09198
}Semantic roles & 50–950 ramp
primary
#8C2599
secondary
#67BE5C
accent
#E44456
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80