#8937BA#8937BA
#8937BA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.3% C 0.200 H 309.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8937BA |
|---|---|
| RGB | rgb(137, 55, 186) |
| HSL | hsl(278, 54%, 47%) |
| HSV | hsv(278, 70%, 73%) |
| CMYK | cmyk(26.3%, 70.4%, 0%, 27.1%) |
| CIE-LAB | lab(40.57, 56.24, -54.26) |
| CIE-LCH | lch(40.57, 78.15, 316.03°) |
| OKLab | oklab(51.25% 0.1277 -0.1536) |
| OKLCH | oklch(51.25% 0.2 309.7) |
| XYZ | xyz(20.5439, 11.5963, 47.6009) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.44
Purply
#983FB2
ΔE00 4.27
Darkviolet
#9400D3
ΔE00 5.13
Blueviolet
#8A2BE2
ΔE00 5.61
Barney
#AC1DB8
ΔE00 6.48
Purple (survey)
#7E1E9C
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8937BA #68BA37
analogous
#4737BA #8937BA #BA37AA
triadic
#8937BA #BA8937 #37BA89
tetradic
#8937BA #BA4737 #68BA37 #37AABA
square
#8937BA #BA4737 #68BA37 #37AABA
split-complementary
#8937BA #AABA37 #37BA47
monochromatic
#431B5C #66298B #8937BA #A55FD0 #C08EDE
Accessibility & contrast
On white
6.33
#8937BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#8937BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8937BA
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8937BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8937BA | 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)
#005CBE
Deuteranopia (green-blind)
#1E61B7
Tritanopia (blue-blind)
#825475
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8937ba; /* rgb */ color: rgb(137, 55, 186); /* oklch */ color: oklch(51.3% 0.200 309.7);
Tailwind
colors: {
custom: {
50: '#b075cf',
500: '#8937ba',
950: '#000000',
},
}SCSS
$custom: #8937ba; $custom-light: #b075cf; $custom-dark: #000000;
JSON
{
"hex": "#8937ba",
"rgb": {
"r": 137,
"g": 55,
"b": 186
},
"hsl": {
"h": 277.557,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.51252,
"c": 0.19976,
"h": 309.7
},
"luminance": 0.11596
}Semantic roles & 50–950 ramp
primary
#8937BA
secondary
#9EC885
accent
#DE4A81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82