#8B2CC6#8B2CC6
#8B2CC6 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.224 H 308.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2CC6 |
|---|---|
| RGB | rgb(139, 44, 198) |
| HSL | hsl(277, 64%, 47%) |
| HSV | hsv(277, 78%, 78%) |
| CMYK | cmyk(29.8%, 77.8%, 0%, 22.4%) |
| CIE-LAB | lab(40.19, 63.56, -61.88) |
| CIE-LCH | lch(40.19, 88.71, 315.77°) |
| OKLab | oklab(51.32% 0.1385 -0.1758) |
| OKLCH | oklch(51.32% 0.224 308.2) |
| XYZ | xyz(21.7391, 11.3679, 54.4641) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.03
Darkorchid
#9932CC
ΔE00 3.08
Blueviolet
#8A2BE2
ΔE00 3.87
Violet (survey)
#9A0EEA
ΔE00 4.85
Vibrant Purple
#AD03DE
ΔE00 5.81
Purply
#983FB2
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2CC6 #67C62C
analogous
#3E2CC6 #8B2CC6 #C62CB4
triadic
#8B2CC6 #C68B2C #2CC68B
tetradic
#8B2CC6 #C63E2C #67C62C #2CB4C6
square
#8B2CC6 #C63E2C #67C62C #2CB4C6
split-complementary
#8B2CC6 #B4C62C #2CC63E
monochromatic
#451662 #682194 #8B2CC6 #A756D9 #C188E5
Accessibility & contrast
On white
6.41
#8B2CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#8B2CC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2CC6
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2CC6 | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#815379
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8b2cc6; /* rgb */ color: rgb(139, 44, 198); /* oklch */ color: oklch(51.3% 0.224 308.2);
Tailwind
colors: {
custom: {
50: '#b270d8',
500: '#8b2cc6',
950: '#000000',
},
}SCSS
$custom: #8b2cc6; $custom-light: #b270d8; $custom-dark: #000000;
JSON
{
"hex": "#8b2cc6",
"rgb": {
"r": 139,
"g": 44,
"b": 198
},
"hsl": {
"h": 277.013,
"s": 63.636,
"l": 47.451
},
"oklch": {
"l": 0.5132,
"c": 0.2238,
"h": 308.2
},
"luminance": 0.11368
}Semantic roles & 50–950 ramp
primary
#8B2CC6
secondary
#9ECE80
accent
#E74181
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83