#8B2AC0#8B2AC0
#8B2AC0 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.220 H 310.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2AC0 |
|---|---|
| RGB | rgb(139, 42, 192) |
| HSL | hsl(279, 64%, 46%) |
| HSV | hsv(279, 78%, 75%) |
| CMYK | cmyk(27.6%, 78.1%, 0%, 24.7%) |
| CIE-LAB | lab(39.50, 63.00, -59.50) |
| CIE-LCH | lch(39.50, 86.66, 316.64°) |
| OKLab | oklab(50.69% 0.1414 -0.1688) |
| OKLCH | oklch(50.69% 0.22 310) |
| XYZ | xyz(20.9880, 10.9511, 50.8671) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.25
Darkorchid
#9932CC
ΔE00 3.54
Blueviolet
#8A2BE2
ΔE00 4.81
Violet (survey)
#9A0EEA
ΔE00 5.60
Purply
#983FB2
ΔE00 5.67
Purple (survey)
#7E1E9C
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2AC0 #5FC02A
analogous
#402AC0 #8B2AC0 #C02AAA
triadic
#8B2AC0 #C08B2A #2AC08B
tetradic
#8B2AC0 #C0402A #5FC02A #2AAAC0
square
#8B2AC0 #C0402A #5FC02A #2AAAC0
split-complementary
#8B2AC0 #AAC02A #2AC040
monochromatic
#42145C #671F8E #8B2AC0 #A84FD8 #C181E3
Accessibility & contrast
On white
6.58
#8B2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#8B2AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2AC0
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2AC0 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#834F75
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8b2ac0; /* rgb */ color: rgb(139, 42, 192); /* oklch */ color: oklch(50.7% 0.220 310.0);
Tailwind
colors: {
custom: {
50: '#b26fd4',
500: '#8b2ac0',
950: '#000000',
},
}SCSS
$custom: #8b2ac0; $custom-light: #b26fd4; $custom-dark: #000000;
JSON
{
"hex": "#8b2ac0",
"rgb": {
"r": 139,
"g": 42,
"b": 192
},
"hsl": {
"h": 278.8,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.50691,
"c": 0.22023,
"h": 310
},
"luminance": 0.10951
}Semantic roles & 50–950 ramp
primary
#8B2AC0
secondary
#97CC7A
accent
#E7417B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83