#8A37B4#8A37B4
#8A37B4 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 51.0% C 0.194 H 311.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8A37B4 |
|---|---|
| RGB | rgb(138, 55, 180) |
| HSL | hsl(280, 53%, 46%) |
| HSV | hsv(280, 69%, 71%) |
| CMYK | cmyk(23.3%, 69.4%, 0%, 29.4%) |
| CIE-LAB | lab(40.30, 55.15, -51.16) |
| CIE-LCH | lch(40.30, 75.22, 317.15°) |
| OKLab | oklab(50.96% 0.1297 -0.1444) |
| OKLCH | oklch(50.96% 0.194 311.9) |
| XYZ | xyz(20.0841, 11.4315, 44.3197) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.70
Darkorchid
#9932CC
ΔE00 3.99
Darkviolet
#9400D3
ΔE00 5.71
Purple (survey)
#7E1E9C
ΔE00 6.04
Barney
#AC1DB8
ΔE00 6.06
Blueviolet
#8A2BE2
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A37B4 #61B437
analogous
#4B37B4 #8A37B4 #B4379F
triadic
#8A37B4 #B48A37 #37B48A
tetradic
#8A37B4 #B44B37 #61B437 #379FB4
square
#8A37B4 #B44B37 #61B437 #379FB4
split-complementary
#8A37B4 #9FB437 #37B44B
monochromatic
#421A56 #662985 #8A37B4 #A75BCD #C08ADB
Accessibility & contrast
On white
6.39
#8A37B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#8A37B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A37B4
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A37B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A37B4 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#2961B1
Tritanopia (blue-blind)
#855171
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a37b4; /* rgb */ color: rgb(138, 55, 180); /* oklch */ color: oklch(51.0% 0.194 311.9);
Tailwind
colors: {
custom: {
50: '#b075cb',
500: '#8a37b4',
950: '#000000',
},
}SCSS
$custom: #8a37b4; $custom-light: #b075cb; $custom-dark: #000000;
JSON
{
"hex": "#8a37b4",
"rgb": {
"r": 138,
"g": 55,
"b": 180
},
"hsl": {
"h": 279.84,
"s": 53.191,
"l": 46.078
},
"oklch": {
"l": 0.50959,
"c": 0.19413,
"h": 311.9
},
"luminance": 0.11431
}Semantic roles & 50–950 ramp
primary
#8A37B4
secondary
#98C681
accent
#DD4B7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82