#8A3CB3#8A3CB3
#8A3CB3 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.187 H 311.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3CB3 |
|---|---|
| RGB | rgb(138, 60, 179) |
| HSL | hsl(279, 50%, 47%) |
| HSV | hsv(279, 66%, 70%) |
| CMYK | cmyk(22.9%, 66.5%, 0%, 29.8%) |
| CIE-LAB | lab(41.04, 52.68, -49.37) |
| CIE-LCH | lch(41.04, 72.19, 316.86°) |
| OKLab | oklab(51.47% 0.1243 -0.1392) |
| OKLCH | oklch(51.47% 0.187 311.7) |
| XYZ | xyz(20.2323, 11.8902, 43.8683) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.14
Darkorchid
#9932CC
ΔE00 4.14
Royal Purple
#7851A9
ΔE00 6.18
Barney
#AC1DB8
ΔE00 6.25
Darkviolet
#9400D3
ΔE00 6.49
Medium Purple
#9E43A2
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3CB3 #65B33C
analogous
#4F3CB3 #8A3CB3 #B33CA1
triadic
#8A3CB3 #B38A3C #3CB38A
tetradic
#8A3CB3 #B34F3C #65B33C #3CA1B3
square
#8A3CB3 #B34F3C #65B33C #3CA1B3
split-complementary
#8A3CB3 #A1B33C #3CB34F
monochromatic
#431D57 #672D85 #8A3CB3 #A662CA #C090DA
Accessibility & contrast
On white
6.22
#8A3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#8A3CB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3CB3
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3CB3 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#3062B0
Tritanopia (blue-blind)
#855472
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a3cb3; /* rgb */ color: rgb(138, 60, 179); /* oklch */ color: oklch(51.5% 0.187 311.7);
Tailwind
colors: {
custom: {
50: '#b077ca',
500: '#8a3cb3',
950: '#000000',
},
}SCSS
$custom: #8a3cb3; $custom-light: #b077ca; $custom-dark: #000000;
JSON
{
"hex": "#8a3cb3",
"rgb": {
"r": 138,
"g": 60,
"b": 179
},
"hsl": {
"h": 279.328,
"s": 49.791,
"l": 46.863
},
"oklch": {
"l": 0.51471,
"c": 0.1866,
"h": 311.7
},
"luminance": 0.1189
}Semantic roles & 50–950 ramp
primary
#8A3CB3
secondary
#9CC586
accent
#D94E7E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82