#8A3BB3#8A3BB3
#8A3BB3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.188 H 311.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3BB3 |
|---|---|
| RGB | rgb(138, 59, 179) |
| HSL | hsl(280, 50%, 47%) |
| HSV | hsv(280, 67%, 70%) |
| CMYK | cmyk(22.9%, 67%, 0%, 29.8%) |
| CIE-LAB | lab(40.87, 53.14, -49.64) |
| CIE-LCH | lch(40.87, 72.71, 316.95°) |
| OKLab | oklab(51.35% 0.1254 -0.14) |
| OKLCH | oklch(51.35% 0.188 311.8) |
| XYZ | xyz(20.1804, 11.7864, 43.8510) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.23
Darkorchid
#9932CC
ΔE00 4.12
Barney
#AC1DB8
ΔE00 6.19
Royal Purple
#7851A9
ΔE00 6.33
Darkviolet
#9400D3
ΔE00 6.35
Purple (survey)
#7E1E9C
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3BB3 #64B33B
analogous
#4E3BB3 #8A3BB3 #B33BA0
triadic
#8A3BB3 #B38A3B #3BB38A
tetradic
#8A3BB3 #B34E3B #64B33B #3BA0B3
square
#8A3BB3 #B34E3B #64B33B #3BA0B3
split-complementary
#8A3BB3 #A0B33B #3BB34E
monochromatic
#431D57 #672C85 #8A3BB3 #A660CB #C08EDA
Accessibility & contrast
On white
6.26
#8A3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#8A3BB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3BB3
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3BB3 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#2F62B0
Tritanopia (blue-blind)
#855372
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a3bb3; /* rgb */ color: rgb(138, 59, 179); /* oklch */ color: oklch(51.4% 0.188 311.8);
Tailwind
colors: {
custom: {
50: '#b077ca',
500: '#8a3bb3',
950: '#000000',
},
}SCSS
$custom: #8a3bb3; $custom-light: #b077ca; $custom-dark: #000000;
JSON
{
"hex": "#8a3bb3",
"rgb": {
"r": 138,
"g": 59,
"b": 179
},
"hsl": {
"h": 279.5,
"s": 50.42,
"l": 46.667
},
"oklch": {
"l": 0.51351,
"c": 0.18794,
"h": 311.8
},
"luminance": 0.11786
}Semantic roles & 50–950 ramp
primary
#8A3BB3
secondary
#9BC585
accent
#DA4E7E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82