#8A3BBE#8A3BBE
#8A3BBE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.1% C 0.199 H 308.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3BBE |
|---|---|
| RGB | rgb(138, 59, 190) |
| HSL | hsl(276, 53%, 49%) |
| HSV | hsv(276, 69%, 75%) |
| CMYK | cmyk(27.4%, 68.9%, 0%, 25.5%) |
| CIE-LAB | lab(41.61, 55.57, -54.92) |
| CIE-LCH | lch(41.61, 78.12, 315.34°) |
| OKLab | oklab(52.11% 0.1243 -0.1555) |
| OKLCH | oklch(52.11% 0.199 308.6) |
| XYZ | xyz(21.3376, 12.2493, 49.9455) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.99
Purply
#983FB2
ΔE00 4.13
Blueviolet
#8A2BE2
ΔE00 5.24
Darkviolet
#9400D3
ΔE00 5.45
Violet (survey)
#9A0EEA
ΔE00 6.46
Royal Purple
#7851A9
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3BBE #6FBE3B
analogous
#493BBE #8A3BBE #BE3BB1
triadic
#8A3BBE #BE8A3B #3BBE8A
tetradic
#8A3BBE #BE493B #6FBE3B #3BB1BE
square
#8A3BBE #BE493B #6FBE3B #3BB1BE
split-complementary
#8A3BBE #B1BE3B #3BBE49
monochromatic
#461E61 #682C8F #8A3BBE #A667D0 #C195DE
Accessibility & contrast
On white
6.09
#8A3BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#8A3BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3BBE
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3BBE | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#1F63BB
Tritanopia (blue-blind)
#825878
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8a3bbe; /* rgb */ color: rgb(138, 59, 190); /* oklch */ color: oklch(52.1% 0.199 308.6);
Tailwind
colors: {
custom: {
50: '#b077d2',
500: '#8a3bbe',
950: '#000000',
},
}SCSS
$custom: #8a3bbe; $custom-light: #b077d2; $custom-dark: #000000;
JSON
{
"hex": "#8a3bbe",
"rgb": {
"r": 138,
"g": 59,
"b": 190
},
"hsl": {
"h": 276.183,
"s": 52.61,
"l": 48.824
},
"oklch": {
"l": 0.52112,
"c": 0.1991,
"h": 308.6
},
"luminance": 0.12249
}Semantic roles & 50–950 ramp
primary
#8A3BBE
secondary
#A4CA8B
accent
#DC4C85
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83