#8A37C3#8A37C3
#8A37C3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.209 H 307.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8A37C3 |
|---|---|
| RGB | rgb(138, 55, 195) |
| HSL | hsl(276, 56%, 49%) |
| HSV | hsv(276, 72%, 76%) |
| CMYK | cmyk(29.2%, 71.8%, 0%, 23.5%) |
| CIE-LAB | lab(41.34, 58.43, -58.28) |
| CIE-LCH | lch(41.34, 82.53, 315.07°) |
| OKLab | oklab(52.03% 0.1278 -0.1654) |
| OKLCH | oklch(52.03% 0.209 307.7) |
| XYZ | xyz(21.6957, 12.0761, 52.8072) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.69
Blueviolet
#8A2BE2
ΔE00 4.32
Darkviolet
#9400D3
ΔE00 4.58
Purply
#983FB2
ΔE00 4.91
Violet (survey)
#9A0EEA
ΔE00 5.60
Vibrant Purple
#AD03DE
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A37C3 #70C337
analogous
#4437C3 #8A37C3 #C337B6
triadic
#8A37C3 #C38A37 #37C38A
tetradic
#8A37C3 #C34437 #70C337 #37B6C3
square
#8A37C3 #C34437 #70C337 #37B6C3
split-complementary
#8A37C3 #B6C337 #37C344
monochromatic
#461C64 #682A93 #8A37C3 #A664D3 #C194E1
Accessibility & contrast
On white
6.15
#8A37C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#8A37C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A37C3
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A37C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A37C3 | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0662C0
Tritanopia (blue-blind)
#81577A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a37c3; /* rgb */ color: rgb(138, 55, 195); /* oklch */ color: oklch(52.0% 0.209 307.7);
Tailwind
colors: {
custom: {
50: '#b175d6',
500: '#8a37c3',
950: '#000000',
},
}SCSS
$custom: #8a37c3; $custom-light: #b175d6; $custom-dark: #000000;
JSON
{
"hex": "#8a37c3",
"rgb": {
"r": 138,
"g": 55,
"b": 195
},
"hsl": {
"h": 275.571,
"s": 56,
"l": 49.02
},
"oklch": {
"l": 0.52028,
"c": 0.20897,
"h": 307.7
},
"luminance": 0.12076
}Semantic roles & 50–950 ramp
primary
#8A37C3
secondary
#A5CC8A
accent
#DF4986
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83