#8B2CC1#8B2CC1
#8B2CC1 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.219 H 309.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2CC1 |
|---|---|
| RGB | rgb(139, 44, 193) |
| HSL | hsl(278, 63%, 46%) |
| HSV | hsv(278, 77%, 76%) |
| CMYK | cmyk(28%, 77.2%, 0%, 24.3%) |
| CIE-LAB | lab(39.82, 62.50, -59.57) |
| CIE-LCH | lch(39.82, 86.34, 316.38°) |
| OKLab | oklab(50.94% 0.1396 -0.169) |
| OKLCH | oklch(50.94% 0.219 309.5) |
| XYZ | xyz(21.1718, 11.1410, 51.4769) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.30
Darkviolet
#9400D3
ΔE00 3.34
Blueviolet
#8A2BE2
ΔE00 4.61
Violet (survey)
#9A0EEA
ΔE00 5.48
Purply
#983FB2
ΔE00 5.54
Vibrant Purple
#AD03DE
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2CC1 #62C12C
analogous
#412CC1 #8B2CC1 #C12CAD
triadic
#8B2CC1 #C18B2C #2CC18B
tetradic
#8B2CC1 #C1412C #62C12C #2CADC1
square
#8B2CC1 #C1412C #62C12C #2CADC1
split-complementary
#8B2CC1 #ADC12C #2CC141
monochromatic
#43155D #67218F #8B2CC1 #A753D8 #C184E3
Accessibility & contrast
On white
6.51
#8B2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#8B2CC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2CC1
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2CC1 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#835176
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8b2cc1; /* rgb */ color: rgb(139, 44, 193); /* oklch */ color: oklch(50.9% 0.219 309.5);
Tailwind
colors: {
custom: {
50: '#b270d5',
500: '#8b2cc1',
950: '#000000',
},
}SCSS
$custom: #8b2cc1; $custom-light: #b270d5; $custom-dark: #000000;
JSON
{
"hex": "#8b2cc1",
"rgb": {
"r": 139,
"g": 44,
"b": 193
},
"hsl": {
"h": 278.255,
"s": 62.869,
"l": 46.471
},
"oklch": {
"l": 0.50938,
"c": 0.2192,
"h": 309.5
},
"luminance": 0.11141
}Semantic roles & 50–950 ramp
primary
#8B2CC1
secondary
#99CC7D
accent
#E6427D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83