#8A3BB7#8A3BB7
#8A3BB7 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.6% C 0.192 H 310.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3BB7 |
|---|---|
| RGB | rgb(138, 59, 183) |
| HSL | hsl(278, 51%, 47%) |
| HSV | hsv(278, 68%, 72%) |
| CMYK | cmyk(24.6%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(41.14, 54.01, -51.57) |
| CIE-LCH | lch(41.14, 74.68, 316.32°) |
| OKLab | oklab(51.62% 0.1251 -0.1457) |
| OKLCH | oklch(51.62% 0.192 310.6) |
| XYZ | xyz(20.5908, 11.9506, 46.0126) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.49
Darkorchid
#9932CC
ΔE00 3.64
Darkviolet
#9400D3
ΔE00 5.97
Blueviolet
#8A2BE2
ΔE00 6.28
Barney
#AC1DB8
ΔE00 6.32
Royal Purple
#7851A9
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3BB7 #68B73B
analogous
#4C3BB7 #8A3BB7 #B73BA6
triadic
#8A3BB7 #B78A3B #3BB78A
tetradic
#8A3BB7 #B74C3B #68B73B #3BA6B7
square
#8A3BB7 #B74C3B #68B73B #3BA6B7
split-complementary
#8A3BB7 #A6B73B #3BB74C
monochromatic
#441D5A #672C89 #8A3BB7 #A663CD #C091DC
Accessibility & contrast
On white
6.19
#8A3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#8A3BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3BB7
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3BB7 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2A62B4
Tritanopia (blue-blind)
#845574
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a3bb7; /* rgb */ color: rgb(138, 59, 183); /* oklch */ color: oklch(51.6% 0.192 310.6);
Tailwind
colors: {
custom: {
50: '#b077cd',
500: '#8a3bb7',
950: '#000000',
},
}SCSS
$custom: #8a3bb7; $custom-light: #b077cd; $custom-dark: #000000;
JSON
{
"hex": "#8a3bb7",
"rgb": {
"r": 138,
"g": 59,
"b": 183
},
"hsl": {
"h": 278.226,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.51624,
"c": 0.192,
"h": 310.6
},
"luminance": 0.1195
}Semantic roles & 50–950 ramp
primary
#8A3BB7
secondary
#9EC687
accent
#DB4D80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82