#8F36BA#8F36BA
#8F36BA is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 51.9% C 0.203 H 312.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8F36BA |
|---|---|
| RGB | rgb(143, 54, 186) |
| HSL | hsl(280, 55%, 47%) |
| HSV | hsv(280, 71%, 73%) |
| CMYK | cmyk(23.1%, 71%, 0%, 27.1%) |
| CIE-LAB | lab(41.25, 57.91, -53.11) |
| CIE-LCH | lch(41.25, 78.58, 317.47°) |
| OKLab | oklab(51.92% 0.1366 -0.15) |
| OKLCH | oklch(51.92% 0.203 312.3) |
| XYZ | xyz(21.5082, 12.0237, 47.6327) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.87
Purply
#983FB2
ΔE00 3.35
Darkviolet
#9400D3
ΔE00 5.17
Barney
#AC1DB8
ΔE00 5.39
Blueviolet
#8A2BE2
ΔE00 5.94
Vibrant Purple
#AD03DE
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F36BA #61BA36
analogous
#4D36BA #8F36BA #BA36A3
triadic
#8F36BA #BA8F36 #36BA8F
tetradic
#8F36BA #BA4D36 #61BA36 #36A3BA
square
#8F36BA #BA4D36 #61BA36 #36A3BA
split-complementary
#8F36BA #A3BA36 #36BA4D
monochromatic
#461A5B #6B288B #8F36BA #AB5DD0 #C38DDE
Accessibility & contrast
On white
6.17
#8F36BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#8F36BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F36BA
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F36BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F36BA | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#2763B7
Tritanopia (blue-blind)
#8A5274
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8f36ba; /* rgb */ color: rgb(143, 54, 186); /* oklch */ color: oklch(51.9% 0.203 312.3);
Tailwind
colors: {
custom: {
50: '#b475cf',
500: '#8f36ba',
950: '#000000',
},
}SCSS
$custom: #8f36ba; $custom-light: #b475cf; $custom-dark: #000000;
JSON
{
"hex": "#8f36ba",
"rgb": {
"r": 143,
"g": 54,
"b": 186
},
"hsl": {
"h": 280.455,
"s": 55,
"l": 47.059
},
"oklch": {
"l": 0.51916,
"c": 0.20287,
"h": 312.3
},
"luminance": 0.12023
}Semantic roles & 50–950 ramp
primary
#8F36BA
secondary
#9AC884
accent
#DE497A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82