#8A3FBB#8A3FBB
#8A3FBB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.4% C 0.191 H 309.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FBB |
|---|---|
| RGB | rgb(138, 63, 187) |
| HSL | hsl(276, 50%, 49%) |
| HSV | hsv(276, 66%, 73%) |
| CMYK | cmyk(26.2%, 66.3%, 0%, 26.7%) |
| CIE-LAB | lab(42.07, 53.05, -52.42) |
| CIE-LCH | lch(42.07, 74.57, 315.34°) |
| OKLab | oklab(52.38% 0.1202 -0.1482) |
| OKLCH | oklch(52.38% 0.191 309.1) |
| XYZ | xyz(21.2266, 12.5465, 48.3076) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.43
Purply
#983FB2
ΔE00 3.62
Blueviolet
#8A2BE2
ΔE00 5.96
Royal Purple
#7851A9
ΔE00 5.97
Darkviolet
#9400D3
ΔE00 6.31
Barney
#AC1DB8
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FBB #70BB3F
analogous
#4C3FBB #8A3FBB #BB3FAE
triadic
#8A3FBB #BB8A3F #3FBB8A
tetradic
#8A3FBB #BB4C3F #70BB3F #3FAEBB
square
#8A3FBB #BB4C3F #70BB3F #3FAEBB
split-complementary
#8A3FBB #AEBB3F #3FBB4C
monochromatic
#46205F #68308D #8A3FBB #A66ACD #C198DC
Accessibility & contrast
On white
5.98
#8A3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8A3FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FBB
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FBB | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2A64B8
Tritanopia (blue-blind)
#835978
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a3fbb; /* rgb */ color: rgb(138, 63, 187); /* oklch */ color: oklch(52.4% 0.191 309.1);
Tailwind
colors: {
custom: {
50: '#b079d0',
500: '#8a3fbb',
950: '#000000',
},
}SCSS
$custom: #8a3fbb; $custom-light: #b079d0; $custom-dark: #000000;
JSON
{
"hex": "#8a3fbb",
"rgb": {
"r": 138,
"g": 63,
"b": 187
},
"hsl": {
"h": 276.29,
"s": 49.6,
"l": 49.02
},
"oklch": {
"l": 0.52379,
"c": 0.19082,
"h": 309.1
},
"luminance": 0.12546
}Semantic roles & 50–950 ramp
primary
#8A3FBB
secondary
#A5C88E
accent
#D94F85
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82