#8B37B0#8B37B0
#8B37B0 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.191 H 313.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8B37B0 |
|---|---|
| RGB | rgb(139, 55, 176) |
| HSL | hsl(282, 52%, 45%) |
| HSV | hsv(282, 69%, 69%) |
| CMYK | cmyk(21%, 68.8%, 0%, 31%) |
| CIE-LAB | lab(40.17, 54.51, -48.98) |
| CIE-LCH | lch(40.17, 73.28, 318.06°) |
| OKLab | oklab(50.82% 0.1314 -0.138) |
| OKLCH | oklch(50.82% 0.191 313.6) |
| XYZ | xyz(19.8488, 11.3565, 42.2123) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.36
Darkorchid
#9932CC
ΔE00 4.44
Purple (survey)
#7E1E9C
ΔE00 5.78
Barney
#AC1DB8
ΔE00 5.79
Darkviolet
#9400D3
ΔE00 6.19
Medium Purple
#9E43A2
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B37B0 #5CB037
analogous
#4E37B0 #8B37B0 #B03798
triadic
#8B37B0 #B08B37 #37B08B
tetradic
#8B37B0 #B04E37 #5CB037 #3798B0
square
#8B37B0 #B04E37 #5CB037 #3798B0
split-complementary
#8B37B0 #98B037 #37B04E
monochromatic
#411A53 #662881 #8B37B0 #A859CB #C188DA
Accessibility & contrast
On white
6.42
#8B37B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#8B37B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B37B0
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B37B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B37B0 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#2F61AD
Tritanopia (blue-blind)
#87506F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8b37b0; /* rgb */ color: rgb(139, 55, 176); /* oklch */ color: oklch(50.8% 0.191 313.6);
Tailwind
colors: {
custom: {
50: '#b175c8',
500: '#8b37b0',
950: '#000000',
},
}SCSS
$custom: #8b37b0; $custom-light: #b175c8; $custom-dark: #000000;
JSON
{
"hex": "#8b37b0",
"rgb": {
"r": 139,
"g": 55,
"b": 176
},
"hsl": {
"h": 281.653,
"s": 52.381,
"l": 45.294
},
"oklch": {
"l": 0.50816,
"c": 0.19055,
"h": 313.6
},
"luminance": 0.11356
}Semantic roles & 50–950 ramp
primary
#8B37B0
secondary
#94C47F
accent
#DC4C78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82