#8A37B8#8A37B8
#8A37B8 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.2% C 0.198 H 310.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8A37B8 |
|---|---|
| RGB | rgb(138, 55, 184) |
| HSL | hsl(279, 54%, 47%) |
| HSV | hsv(279, 70%, 72%) |
| CMYK | cmyk(25%, 70.1%, 0%, 27.8%) |
| CIE-LAB | lab(40.57, 56.01, -53.08) |
| CIE-LCH | lch(40.57, 77.17, 316.54°) |
| OKLab | oklab(51.24% 0.1293 -0.1501) |
| OKLCH | oklch(51.24% 0.198 310.7) |
| XYZ | xyz(20.4975, 11.5968, 46.4967) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.53
Purply
#983FB2
ΔE00 3.94
Darkviolet
#9400D3
ΔE00 5.32
Blueviolet
#8A2BE2
ΔE00 5.96
Barney
#AC1DB8
ΔE00 6.21
Purple (survey)
#7E1E9C
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A37B8 #65B837
analogous
#4A37B8 #8A37B8 #B837A6
triadic
#8A37B8 #B88A37 #37B88A
tetradic
#8A37B8 #B84A37 #65B837 #37A6B8
square
#8A37B8 #B84A37 #65B837 #37A6B8
split-complementary
#8A37B8 #A6B837 #37B84A
monochromatic
#431B5A #672989 #8A37B8 #A65DCF #C08DDD
Accessibility & contrast
On white
6.33
#8A37B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#8A37B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A37B8
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A37B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A37B8 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#2361B5
Tritanopia (blue-blind)
#845374
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a37b8; /* rgb */ color: rgb(138, 55, 184); /* oklch */ color: oklch(51.2% 0.198 310.7);
Tailwind
colors: {
custom: {
50: '#b075ce',
500: '#8a37b8',
950: '#000000',
},
}SCSS
$custom: #8a37b8; $custom-light: #b075ce; $custom-dark: #000000;
JSON
{
"hex": "#8a37b8",
"rgb": {
"r": 138,
"g": 55,
"b": 184
},
"hsl": {
"h": 278.605,
"s": 53.975,
"l": 46.863
},
"oklch": {
"l": 0.51238,
"c": 0.19808,
"h": 310.7
},
"luminance": 0.11596
}Semantic roles & 50–950 ramp
primary
#8A37B8
secondary
#9CC784
accent
#DD4A7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82