#8A3EBB#8A3EBB
#8A3EBB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.3% C 0.192 H 309.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3EBB |
|---|---|
| RGB | rgb(138, 62, 187) |
| HSL | hsl(276, 50%, 49%) |
| HSV | hsv(276, 67%, 73%) |
| CMYK | cmyk(26.2%, 66.8%, 0%, 26.7%) |
| CIE-LAB | lab(41.90, 53.52, -52.69) |
| CIE-LCH | lch(41.90, 75.10, 315.45°) |
| OKLab | oklab(52.26% 0.1214 -0.149) |
| OKLCH | oklch(52.26% 0.192 309.2) |
| XYZ | xyz(21.1717, 12.4368, 48.2893) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.36
Purply
#983FB2
ΔE00 3.66
Blueviolet
#8A2BE2
ΔE00 5.88
Royal Purple
#7851A9
ΔE00 6.11
Darkviolet
#9400D3
ΔE00 6.13
Barney
#AC1DB8
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3EBB #6FBB3E
analogous
#4C3EBB #8A3EBB #BB3EAE
triadic
#8A3EBB #BB8A3E #3EBB8A
tetradic
#8A3EBB #BB4C3E #6FBB3E #3EAEBB
square
#8A3EBB #BB4C3E #6FBB3E #3EAEBB
split-complementary
#8A3EBB #AEBB3E #3EBB4C
monochromatic
#46205F #682F8D #8A3EBB #A669CD #C197DC
Accessibility & contrast
On white
6.02
#8A3EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#8A3EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3EBB
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3EBB | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2864B8
Tritanopia (blue-blind)
#835877
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a3ebb; /* rgb */ color: rgb(138, 62, 187); /* oklch */ color: oklch(52.3% 0.192 309.2);
Tailwind
colors: {
custom: {
50: '#b079d0',
500: '#8a3ebb',
950: '#000000',
},
}SCSS
$custom: #8a3ebb; $custom-light: #b079d0; $custom-dark: #000000;
JSON
{
"hex": "#8a3ebb",
"rgb": {
"r": 138,
"g": 62,
"b": 187
},
"hsl": {
"h": 276.48,
"s": 50.201,
"l": 48.824
},
"oklch": {
"l": 0.52257,
"c": 0.19215,
"h": 309.2
},
"luminance": 0.12436
}Semantic roles & 50–950 ramp
primary
#8A3EBB
secondary
#A4C88D
accent
#DA4E85
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82