#8A3BB4#8A3BB4
#8A3BB4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.189 H 311.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3BB4 |
|---|---|
| RGB | rgb(138, 59, 180) |
| HSL | hsl(279, 51%, 47%) |
| HSV | hsv(279, 67%, 71%) |
| CMYK | cmyk(23.3%, 67.2%, 0%, 29.4%) |
| CIE-LAB | lab(40.94, 53.36, -50.12) |
| CIE-LCH | lch(40.94, 73.21, 316.79°) |
| OKLab | oklab(51.42% 0.1253 -0.1414) |
| OKLCH | oklch(51.42% 0.189 311.5) |
| XYZ | xyz(20.2819, 11.8270, 44.3856) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.29
Darkorchid
#9932CC
ΔE00 3.99
Barney
#AC1DB8
ΔE00 6.22
Darkviolet
#9400D3
ΔE00 6.25
Royal Purple
#7851A9
ΔE00 6.34
Purple (survey)
#7E1E9C
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3BB4 #65B43B
analogous
#4E3BB4 #8A3BB4 #B43BA2
triadic
#8A3BB4 #B48A3B #3BB48A
tetradic
#8A3BB4 #B44E3B #65B43B #3BA2B4
square
#8A3BB4 #B44E3B #65B43B #3BA2B4
split-complementary
#8A3BB4 #A2B43B #3BB44E
monochromatic
#431D58 #672C86 #8A3BB4 #A661CB #C08FDA
Accessibility & contrast
On white
6.24
#8A3BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#8A3BB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3BB4
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3BB4 | 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)
#005DB8
Deuteranopia (green-blind)
#2E62B1
Tritanopia (blue-blind)
#855473
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a3bb4; /* rgb */ color: rgb(138, 59, 180); /* oklch */ color: oklch(51.4% 0.189 311.5);
Tailwind
colors: {
custom: {
50: '#b077cb',
500: '#8a3bb4',
950: '#000000',
},
}SCSS
$custom: #8a3bb4; $custom-light: #b077cb; $custom-dark: #000000;
JSON
{
"hex": "#8a3bb4",
"rgb": {
"r": 138,
"g": 59,
"b": 180
},
"hsl": {
"h": 279.174,
"s": 50.628,
"l": 46.863
},
"oklch": {
"l": 0.51419,
"c": 0.18895,
"h": 311.5
},
"luminance": 0.11826
}Semantic roles & 50–950 ramp
primary
#8A3BB4
secondary
#9CC586
accent
#DA4E7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82