#8939B7#8939B7
#8939B7 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.194 H 310.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8939B7 |
|---|---|
| RGB | rgb(137, 57, 183) |
| HSL | hsl(278, 53%, 47%) |
| HSV | hsv(278, 69%, 72%) |
| CMYK | cmyk(25.1%, 68.9%, 0%, 28.2%) |
| CIE-LAB | lab(40.68, 54.70, -52.32) |
| CIE-LCH | lch(40.68, 75.69, 316.27°) |
| OKLab | oklab(51.27% 0.126 -0.1479) |
| OKLCH | oklch(51.27% 0.194 310.4) |
| XYZ | xyz(20.3253, 11.6640, 45.9712) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.72
Purply
#983FB2
ΔE00 3.86
Darkviolet
#9400D3
ΔE00 5.66
Blueviolet
#8A2BE2
ΔE00 6.14
Barney
#AC1DB8
ΔE00 6.41
Purple (survey)
#7E1E9C
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8939B7 #67B739
analogous
#4A39B7 #8939B7 #B739A6
triadic
#8939B7 #B78939 #39B789
tetradic
#8939B7 #B74A39 #67B739 #39A6B7
square
#8939B7 #B74A39 #67B739 #39A6B7
split-complementary
#8939B7 #A6B739 #39B74A
monochromatic
#431C5A #662A88 #8939B7 #A560CD #C08EDC
Accessibility & contrast
On white
6.30
#8939B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#8939B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8939B7
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8939B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8939B7 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#2661B4
Tritanopia (blue-blind)
#835474
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8939b7; /* rgb */ color: rgb(137, 57, 183); /* oklch */ color: oklch(51.3% 0.194 310.4);
Tailwind
colors: {
custom: {
50: '#af76cd',
500: '#8939b7',
950: '#000000',
},
}SCSS
$custom: #8939b7; $custom-light: #af76cd; $custom-dark: #000000;
JSON
{
"hex": "#8939b7",
"rgb": {
"r": 137,
"g": 57,
"b": 183
},
"hsl": {
"h": 278.095,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.51265,
"c": 0.19426,
"h": 310.4
},
"luminance": 0.11664
}Semantic roles & 50–950 ramp
primary
#8939B7
secondary
#9DC785
accent
#DC4C80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82