#8939B5#8939B5
#8939B5 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.192 H 311.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8939B5 |
|---|---|
| RGB | rgb(137, 57, 181) |
| HSL | hsl(279, 52%, 47%) |
| HSV | hsv(279, 69%, 71%) |
| CMYK | cmyk(24.3%, 68.5%, 0%, 29%) |
| CIE-LAB | lab(40.54, 54.26, -51.36) |
| CIE-LCH | lch(40.54, 74.71, 316.58°) |
| OKLab | oklab(51.13% 0.1262 -0.1451) |
| OKLCH | oklch(51.13% 0.192 311) |
| XYZ | xyz(20.1186, 11.5813, 44.8827) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.73
Darkorchid
#9932CC
ΔE00 3.94
Darkviolet
#9400D3
ΔE00 5.85
Barney
#AC1DB8
ΔE00 6.34
Purple (survey)
#7E1E9C
ΔE00 6.37
Blueviolet
#8A2BE2
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8939B5 #65B539
analogous
#4B39B5 #8939B5 #B539A3
triadic
#8939B5 #B58939 #39B589
tetradic
#8939B5 #B54B39 #65B539 #39A3B5
square
#8939B5 #B54B39 #65B539 #39A3B5
split-complementary
#8939B5 #A3B539 #39B54B
monochromatic
#431C58 #662A86 #8939B5 #A65FCD #C08DDB
Accessibility & contrast
On white
6.33
#8939B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#8939B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8939B5
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8939B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8939B5 | 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)
#005CB9
Deuteranopia (green-blind)
#2961B2
Tritanopia (blue-blind)
#835373
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8939b5; /* rgb */ color: rgb(137, 57, 181); /* oklch */ color: oklch(51.1% 0.192 311.0);
Tailwind
colors: {
custom: {
50: '#af76cc',
500: '#8939b5',
950: '#000000',
},
}SCSS
$custom: #8939b5; $custom-light: #af76cc; $custom-dark: #000000;
JSON
{
"hex": "#8939b5",
"rgb": {
"r": 137,
"g": 57,
"b": 181
},
"hsl": {
"h": 278.71,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.51126,
"c": 0.19225,
"h": 311
},
"luminance": 0.11581
}Semantic roles & 50–950 ramp
primary
#8939B5
secondary
#9BC684
accent
#DC4C7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82