#8A3BB6#8A3BB6
#8A3BB6 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.6% C 0.191 H 310.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3BB6 |
|---|---|
| RGB | rgb(138, 59, 182) |
| HSL | hsl(279, 51%, 47%) |
| HSV | hsv(279, 68%, 71%) |
| CMYK | cmyk(24.2%, 67.6%, 0%, 28.6%) |
| CIE-LAB | lab(41.07, 53.79, -51.09) |
| CIE-LCH | lch(41.07, 74.19, 316.48°) |
| OKLab | oklab(51.55% 0.1252 -0.1443) |
| OKLCH | oklch(51.55% 0.191 310.9) |
| XYZ | xyz(20.4871, 11.9091, 45.4663) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.42
Darkorchid
#9932CC
ΔE00 3.75
Darkviolet
#9400D3
ΔE00 6.06
Barney
#AC1DB8
ΔE00 6.29
Royal Purple
#7851A9
ΔE00 6.38
Blueviolet
#8A2BE2
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3BB6 #67B63B
analogous
#4D3BB6 #8A3BB6 #B63BA4
triadic
#8A3BB6 #B68A3B #3BB68A
tetradic
#8A3BB6 #B64D3B #67B63B #3BA4B6
square
#8A3BB6 #B64D3B #67B63B #3BA4B6
split-complementary
#8A3BB6 #A4B63B #3BB64D
monochromatic
#441D5A #672C88 #8A3BB6 #A662CC #C090DB
Accessibility & contrast
On white
6.21
#8A3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#8A3BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3BB6
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3BB6 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#2B62B3
Tritanopia (blue-blind)
#845574
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a3bb6; /* rgb */ color: rgb(138, 59, 182); /* oklch */ color: oklch(51.6% 0.191 310.9);
Tailwind
colors: {
custom: {
50: '#b077cd',
500: '#8a3bb6',
950: '#000000',
},
}SCSS
$custom: #8a3bb6; $custom-light: #b077cd; $custom-dark: #000000;
JSON
{
"hex": "#8a3bb6",
"rgb": {
"r": 138,
"g": 59,
"b": 182
},
"hsl": {
"h": 278.537,
"s": 51.037,
"l": 47.255
},
"oklch": {
"l": 0.51555,
"c": 0.19098,
"h": 310.9
},
"luminance": 0.11909
}Semantic roles & 50–950 ramp
primary
#8A3BB6
secondary
#9DC687
accent
#DB4D80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82