#8C2BBF#8C2BBF
#8C2BBF is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.219 H 310.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2BBF |
|---|---|
| RGB | rgb(140, 43, 191) |
| HSL | hsl(279, 63%, 46%) |
| HSV | hsv(279, 77%, 75%) |
| CMYK | cmyk(26.7%, 77.5%, 0%, 25.1%) |
| CIE-LAB | lab(39.69, 62.62, -58.60) |
| CIE-LCH | lch(39.69, 85.76, 316.90°) |
| OKLab | oklab(50.83% 0.1421 -0.1661) |
| OKLCH | oklch(50.83% 0.219 310.5) |
| XYZ | xyz(21.0812, 11.0653, 50.3054) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.38
Darkviolet
#9400D3
ΔE00 3.42
Blueviolet
#8A2BE2
ΔE00 4.97
Purply
#983FB2
ΔE00 5.36
Violet (survey)
#9A0EEA
ΔE00 5.70
Vibrant Purple
#AD03DE
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2BBF #5EBF2B
analogous
#422BBF #8C2BBF #BF2BA8
triadic
#8C2BBF #BF8C2B #2BBF8C
tetradic
#8C2BBF #BF422B #5EBF2B #2BA8BF
square
#8C2BBF #BF422B #5EBF2B #2BA8BF
split-complementary
#8C2BBF #A8BF2B #2BBF42
monochromatic
#43155B #67208D #8C2BBF #A950D8 #C182E3
Accessibility & contrast
On white
6.54
#8C2BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#8C2BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C2BBF
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2BBF | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#854F75
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8c2bbf; /* rgb */ color: rgb(140, 43, 191); /* oklch */ color: oklch(50.8% 0.219 310.5);
Tailwind
colors: {
custom: {
50: '#b36fd3',
500: '#8c2bbf',
950: '#000000',
},
}SCSS
$custom: #8c2bbf; $custom-light: #b36fd3; $custom-dark: #000000;
JSON
{
"hex": "#8c2bbf",
"rgb": {
"r": 140,
"g": 43,
"b": 191
},
"hsl": {
"h": 279.324,
"s": 63.248,
"l": 45.882
},
"oklch": {
"l": 0.50832,
"c": 0.21863,
"h": 310.5
},
"luminance": 0.11065
}Semantic roles & 50–950 ramp
primary
#8C2BBF
secondary
#96CC7A
accent
#E6427A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83