#8A37B7#8A37B7
#8A37B7 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.2% C 0.197 H 311.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8A37B7 |
|---|---|
| RGB | rgb(138, 55, 183) |
| HSL | hsl(279, 54%, 47%) |
| HSV | hsv(279, 70%, 72%) |
| CMYK | cmyk(24.6%, 69.9%, 0%, 28.2%) |
| CIE-LAB | lab(40.50, 55.80, -52.60) |
| CIE-LCH | lch(40.50, 76.68, 316.69°) |
| OKLab | oklab(51.17% 0.1294 -0.1487) |
| OKLCH | oklch(51.17% 0.197 311) |
| XYZ | xyz(20.3930, 11.5550, 45.9466) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.64
Purply
#983FB2
ΔE00 3.87
Darkviolet
#9400D3
ΔE00 5.41
Blueviolet
#8A2BE2
ΔE00 6.12
Barney
#AC1DB8
ΔE00 6.17
Purple (survey)
#7E1E9C
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A37B7 #64B737
analogous
#4A37B7 #8A37B7 #B737A4
triadic
#8A37B7 #B78A37 #37B78A
tetradic
#8A37B7 #B74A37 #64B737 #37A4B7
square
#8A37B7 #B74A37 #64B737 #37A4B7
split-complementary
#8A37B7 #A4B737 #37B74A
monochromatic
#431B59 #672988 #8A37B7 #A65DCE #C08CDC
Accessibility & contrast
On white
6.34
#8A37B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#8A37B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A37B7
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A37B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A37B7 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#2561B4
Tritanopia (blue-blind)
#845373
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a37b7; /* rgb */ color: rgb(138, 55, 183); /* oklch */ color: oklch(51.2% 0.197 311.0);
Tailwind
colors: {
custom: {
50: '#b075cd',
500: '#8a37b7',
950: '#000000',
},
}SCSS
$custom: #8a37b7; $custom-light: #b075cd; $custom-dark: #000000;
JSON
{
"hex": "#8a37b7",
"rgb": {
"r": 138,
"g": 55,
"b": 183
},
"hsl": {
"h": 278.906,
"s": 53.782,
"l": 46.667
},
"oklch": {
"l": 0.51168,
"c": 0.1971,
"h": 311
},
"luminance": 0.11555
}Semantic roles & 50–950 ramp
primary
#8A37B7
secondary
#9BC783
accent
#DD4B7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82