#8A3BB2#8A3BB2
#8A3BB2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.187 H 312.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3BB2 |
|---|---|
| RGB | rgb(138, 59, 178) |
| HSL | hsl(280, 50%, 46%) |
| HSV | hsv(280, 67%, 70%) |
| CMYK | cmyk(22.5%, 66.9%, 0%, 30.2%) |
| CIE-LAB | lab(40.81, 52.92, -49.15) |
| CIE-LCH | lch(40.81, 72.22, 317.11°) |
| OKLab | oklab(51.28% 0.1255 -0.1386) |
| OKLCH | oklch(51.28% 0.187 312.2) |
| XYZ | xyz(20.0796, 11.7461, 43.3203) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.18
Darkorchid
#9932CC
ΔE00 4.24
Barney
#AC1DB8
ΔE00 6.17
Royal Purple
#7851A9
ΔE00 6.32
Darkviolet
#9400D3
ΔE00 6.45
Purple (survey)
#7E1E9C
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3BB2 #63B23B
analogous
#4F3BB2 #8A3BB2 #B23B9F
triadic
#8A3BB2 #B28A3B #3BB28A
tetradic
#8A3BB2 #B24F3B #63B23B #3B9FB2
square
#8A3BB2 #B24F3B #63B23B #3B9FB2
split-complementary
#8A3BB2 #9FB23B #3BB24F
monochromatic
#431D56 #662C84 #8A3BB2 #A760CA #C08EDA
Accessibility & contrast
On white
6.27
#8A3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#8A3BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3BB2
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3BB2 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3062AF
Tritanopia (blue-blind)
#855372
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a3bb2; /* rgb */ color: rgb(138, 59, 178); /* oklch */ color: oklch(51.3% 0.187 312.2);
Tailwind
colors: {
custom: {
50: '#b077ca',
500: '#8a3bb2',
950: '#000000',
},
}SCSS
$custom: #8a3bb2; $custom-light: #b077ca; $custom-dark: #000000;
JSON
{
"hex": "#8a3bb2",
"rgb": {
"r": 138,
"g": 59,
"b": 178
},
"hsl": {
"h": 279.832,
"s": 50.211,
"l": 46.471
},
"oklch": {
"l": 0.51284,
"c": 0.18693,
"h": 312.2
},
"luminance": 0.11746
}Semantic roles & 50–950 ramp
primary
#8A3BB2
secondary
#9AC485
accent
#DA4E7D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82