#8A37B5#8A37B5
#8A37B5 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.195 H 311.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8A37B5 |
|---|---|
| RGB | rgb(138, 55, 181) |
| HSL | hsl(280, 53%, 46%) |
| HSV | hsv(280, 70%, 71%) |
| CMYK | cmyk(23.8%, 69.6%, 0%, 29%) |
| CIE-LAB | lab(40.37, 55.36, -51.64) |
| CIE-LCH | lch(40.37, 75.71, 316.99°) |
| OKLab | oklab(51.03% 0.1296 -0.1458) |
| OKLCH | oklch(51.03% 0.195 311.6) |
| XYZ | xyz(20.1864, 11.4724, 44.8581) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.75
Darkorchid
#9932CC
ΔE00 3.87
Darkviolet
#9400D3
ΔE00 5.61
Barney
#AC1DB8
ΔE00 6.09
Purple (survey)
#7E1E9C
ΔE00 6.14
Blueviolet
#8A2BE2
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A37B5 #62B537
analogous
#4B37B5 #8A37B5 #B537A1
triadic
#8A37B5 #B58A37 #37B58A
tetradic
#8A37B5 #B54B37 #62B537 #37A1B5
square
#8A37B5 #B54B37 #62B537 #37A1B5
split-complementary
#8A37B5 #A1B537 #37B54B
monochromatic
#421A57 #662986 #8A37B5 #A75CCD #C08BDC
Accessibility & contrast
On white
6.37
#8A37B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#8A37B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A37B5
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A37B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A37B5 | 1.00 | 6.37 | 3.29 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#2861B2
Tritanopia (blue-blind)
#855272
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a37b5; /* rgb */ color: rgb(138, 55, 181); /* oklch */ color: oklch(51.0% 0.195 311.6);
Tailwind
colors: {
custom: {
50: '#b075cc',
500: '#8a37b5',
950: '#000000',
},
}SCSS
$custom: #8a37b5; $custom-light: #b075cc; $custom-dark: #000000;
JSON
{
"hex": "#8a37b5",
"rgb": {
"r": 138,
"g": 55,
"b": 181
},
"hsl": {
"h": 279.524,
"s": 53.39,
"l": 46.275
},
"oklch": {
"l": 0.51028,
"c": 0.19512,
"h": 311.6
},
"luminance": 0.11472
}Semantic roles & 50–950 ramp
primary
#8A37B5
secondary
#99C682
accent
#DD4B7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82