#8A39B9#8A39B9
#8A39B9 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.5% C 0.197 H 310.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A39B9 |
|---|---|
| RGB | rgb(138, 57, 185) |
| HSL | hsl(278, 53%, 47%) |
| HSV | hsv(278, 69%, 73%) |
| CMYK | cmyk(25.4%, 69.2%, 0%, 27.5%) |
| CIE-LAB | lab(40.95, 55.35, -53.05) |
| CIE-LCH | lch(40.95, 76.67, 316.22°) |
| OKLab | oklab(51.53% 0.1271 -0.15) |
| OKLCH | oklch(51.53% 0.197 310.3) |
| XYZ | xyz(20.6996, 11.8328, 47.0830) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.41
Purply
#983FB2
ΔE00 3.82
Darkviolet
#9400D3
ΔE00 5.50
Blueviolet
#8A2BE2
ΔE00 5.88
Barney
#AC1DB8
ΔE00 6.32
Royal Purple
#7851A9
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A39B9 #68B939
analogous
#4A39B9 #8A39B9 #B939A8
triadic
#8A39B9 #B98A39 #39B98A
tetradic
#8A39B9 #B94A39 #68B939 #39A8B9
square
#8A39B9 #B94A39 #68B939 #39A8B9
split-complementary
#8A39B9 #A8B939 #39B94A
monochromatic
#441C5B #672B8A #8A39B9 #A661CE #C090DD
Accessibility & contrast
On white
6.24
#8A39B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#8A39B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A39B9
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A39B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A39B9 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#2462B6
Tritanopia (blue-blind)
#845575
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a39b9; /* rgb */ color: rgb(138, 57, 185); /* oklch */ color: oklch(51.5% 0.197 310.3);
Tailwind
colors: {
custom: {
50: '#b076cf',
500: '#8a39b9',
950: '#000000',
},
}SCSS
$custom: #8a39b9; $custom-light: #b076cf; $custom-dark: #000000;
JSON
{
"hex": "#8a39b9",
"rgb": {
"r": 138,
"g": 57,
"b": 185
},
"hsl": {
"h": 277.969,
"s": 52.893,
"l": 47.451
},
"oklch": {
"l": 0.51531,
"c": 0.19658,
"h": 310.3
},
"luminance": 0.11832
}Semantic roles & 50–950 ramp
primary
#8A39B9
secondary
#9EC886
accent
#DC4B81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82