#8A3BB5#8A3BB5
#8A3BB5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.190 H 311.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3BB5 |
|---|---|
| RGB | rgb(138, 59, 181) |
| HSL | hsl(279, 51%, 47%) |
| HSV | hsv(279, 67%, 71%) |
| CMYK | cmyk(23.8%, 67.4%, 0%, 29%) |
| CIE-LAB | lab(41.01, 53.57, -50.61) |
| CIE-LCH | lch(41.01, 73.70, 316.63°) |
| OKLab | oklab(51.49% 0.1252 -0.1428) |
| OKLCH | oklch(51.49% 0.19 311.2) |
| XYZ | xyz(20.3841, 11.8679, 44.9240) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.35
Darkorchid
#9932CC
ΔE00 3.87
Darkviolet
#9400D3
ΔE00 6.15
Barney
#AC1DB8
ΔE00 6.25
Royal Purple
#7851A9
ΔE00 6.36
Blueviolet
#8A2BE2
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3BB5 #66B53B
analogous
#4D3BB5 #8A3BB5 #B53BA3
triadic
#8A3BB5 #B58A3B #3BB58A
tetradic
#8A3BB5 #B54D3B #66B53B #3BA3B5
square
#8A3BB5 #B54D3B #66B53B #3BA3B5
split-complementary
#8A3BB5 #A3B53B #3BB54D
monochromatic
#441D59 #672C87 #8A3BB5 #A662CC #C090DB
Accessibility & contrast
On white
6.23
#8A3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#8A3BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3BB5
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3BB5 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#2C62B2
Tritanopia (blue-blind)
#855473
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a3bb5; /* rgb */ color: rgb(138, 59, 181); /* oklch */ color: oklch(51.5% 0.190 311.2);
Tailwind
colors: {
custom: {
50: '#b077cc',
500: '#8a3bb5',
950: '#000000',
},
}SCSS
$custom: #8a3bb5; $custom-light: #b077cc; $custom-dark: #000000;
JSON
{
"hex": "#8a3bb5",
"rgb": {
"r": 138,
"g": 59,
"b": 181
},
"hsl": {
"h": 278.852,
"s": 50.833,
"l": 47.059
},
"oklch": {
"l": 0.51487,
"c": 0.18996,
"h": 311.2
},
"luminance": 0.11867
}Semantic roles & 50–950 ramp
primary
#8A3BB5
secondary
#9DC686
accent
#DA4D7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82