#8A39C6#8A39C6
#8A39C6 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.210 H 306.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A39C6 |
|---|---|
| RGB | rgb(138, 57, 198) |
| HSL | hsl(274, 55%, 50%) |
| HSV | hsv(274, 71%, 78%) |
| CMYK | cmyk(30.3%, 71.2%, 0%, 22.4%) |
| CIE-LAB | lab(41.86, 58.24, -59.19) |
| CIE-LCH | lch(41.86, 83.04, 314.54°) |
| OKLab | oklab(52.46% 0.1253 -0.168) |
| OKLCH | oklch(52.46% 0.21 306.7) |
| XYZ | xyz(22.1352, 12.4070, 54.6438) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.60
Blueviolet
#8A2BE2
ΔE00 4.01
Darkviolet
#9400D3
ΔE00 4.79
Purply
#983FB2
ΔE00 5.10
Violet (survey)
#9A0EEA
ΔE00 5.41
Vibrant Purple
#AD03DE
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A39C6 #75C639
analogous
#4339C6 #8A39C6 #C639BC
triadic
#8A39C6 #C68A39 #39C68A
tetradic
#8A39C6 #C64339 #75C639 #39BCC6
square
#8A39C6 #C64339 #75C639 #39BCC6
split-complementary
#8A39C6 #BCC639 #39C643
monochromatic
#481E67 #692B96 #8A39C6 #A669D4 #C298E1
Accessibility & contrast
On white
6.03
#8A39C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#8A39C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A39C6
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A39C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A39C6 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#805A7C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a39c6; /* rgb */ color: rgb(138, 57, 198); /* oklch */ color: oklch(52.5% 0.210 306.7);
Tailwind
colors: {
custom: {
50: '#b176d8',
500: '#8a39c6',
950: '#000000',
},
}SCSS
$custom: #8a39c6; $custom-light: #b176d8; $custom-dark: #000000;
JSON
{
"hex": "#8a39c6",
"rgb": {
"r": 138,
"g": 57,
"b": 198
},
"hsl": {
"h": 274.468,
"s": 55.294,
"l": 50
},
"oklch": {
"l": 0.52464,
"c": 0.20962,
"h": 306.7
},
"luminance": 0.12407
}Semantic roles & 50–950 ramp
primary
#8A39C6
secondary
#A9CD8E
accent
#DF4989
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83