#8A37B3#8A37B3
#8A37B3 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.193 H 312.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A37B3 |
|---|---|
| RGB | rgb(138, 55, 179) |
| HSL | hsl(280, 53%, 46%) |
| HSV | hsv(280, 69%, 70%) |
| CMYK | cmyk(22.9%, 69.3%, 0%, 29.8%) |
| CIE-LAB | lab(40.23, 54.93, -50.67) |
| CIE-LCH | lch(40.23, 74.73, 317.31°) |
| OKLab | oklab(50.89% 0.1298 -0.143) |
| OKLCH | oklch(50.89% 0.193 312.2) |
| XYZ | xyz(19.9826, 11.3909, 43.7851) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.65
Darkorchid
#9932CC
ΔE00 4.11
Darkviolet
#9400D3
ΔE00 5.82
Purple (survey)
#7E1E9C
ΔE00 5.95
Barney
#AC1DB8
ΔE00 6.03
Blueviolet
#8A2BE2
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A37B3 #60B337
analogous
#4C37B3 #8A37B3 #B3379E
triadic
#8A37B3 #B38A37 #37B38A
tetradic
#8A37B3 #B34C37 #60B337 #379EB3
square
#8A37B3 #B34C37 #60B337 #379EB3
split-complementary
#8A37B3 #9EB337 #37B34C
monochromatic
#421A55 #662984 #8A37B3 #A75BCD #C08ADB
Accessibility & contrast
On white
6.41
#8A37B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#8A37B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A37B3
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A37B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A37B3 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#855171
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a37b3; /* rgb */ color: rgb(138, 55, 179); /* oklch */ color: oklch(50.9% 0.193 312.2);
Tailwind
colors: {
custom: {
50: '#b075ca',
500: '#8a37b3',
950: '#000000',
},
}SCSS
$custom: #8a37b3; $custom-light: #b075ca; $custom-dark: #000000;
JSON
{
"hex": "#8a37b3",
"rgb": {
"r": 138,
"g": 55,
"b": 179
},
"hsl": {
"h": 280.161,
"s": 52.991,
"l": 45.882
},
"oklch": {
"l": 0.5089,
"c": 0.19315,
"h": 312.2
},
"luminance": 0.1139
}Semantic roles & 50–950 ramp
primary
#8A37B3
secondary
#97C581
accent
#DC4B7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82