#8939B6#8939B6
#8939B6 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.2% C 0.193 H 310.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8939B6 |
|---|---|
| RGB | rgb(137, 57, 182) |
| HSL | hsl(278, 52%, 47%) |
| HSV | hsv(278, 69%, 71%) |
| CMYK | cmyk(24.7%, 68.7%, 0%, 28.6%) |
| CIE-LAB | lab(40.61, 54.48, -51.84) |
| CIE-LCH | lch(40.61, 75.20, 316.42°) |
| OKLab | oklab(51.2% 0.1261 -0.1465) |
| OKLCH | oklch(51.2% 0.193 310.7) |
| XYZ | xyz(20.2215, 11.6225, 45.4250) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.79
Darkorchid
#9932CC
ΔE00 3.83
Darkviolet
#9400D3
ΔE00 5.76
Blueviolet
#8A2BE2
ΔE00 6.30
Barney
#AC1DB8
ΔE00 6.37
Purple (survey)
#7E1E9C
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8939B6 #66B639
analogous
#4B39B6 #8939B6 #B639A5
triadic
#8939B6 #B68939 #39B689
tetradic
#8939B6 #B64B39 #66B639 #39A5B6
square
#8939B6 #B64B39 #66B639 #39A5B6
split-complementary
#8939B6 #A5B639 #39B64B
monochromatic
#431C59 #662A87 #8939B6 #A55FCD #C08EDC
Accessibility & contrast
On white
6.32
#8939B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#8939B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8939B6
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8939B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8939B6 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#2761B3
Tritanopia (blue-blind)
#835373
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8939b6; /* rgb */ color: rgb(137, 57, 182); /* oklch */ color: oklch(51.2% 0.193 310.7);
Tailwind
colors: {
custom: {
50: '#af76cd',
500: '#8939b6',
950: '#000000',
},
}SCSS
$custom: #8939b6; $custom-light: #af76cd; $custom-dark: #000000;
JSON
{
"hex": "#8939b6",
"rgb": {
"r": 137,
"g": 57,
"b": 182
},
"hsl": {
"h": 278.4,
"s": 52.301,
"l": 46.863
},
"oklch": {
"l": 0.51196,
"c": 0.19326,
"h": 310.7
},
"luminance": 0.11622
}Semantic roles & 50–950 ramp
primary
#8939B6
secondary
#9CC685
accent
#DC4C80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82