#8B2CBF#8B2CBF
#8B2CBF is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.217 H 310.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2CBF |
|---|---|
| RGB | rgb(139, 44, 191) |
| HSL | hsl(279, 63%, 46%) |
| HSV | hsv(279, 77%, 75%) |
| CMYK | cmyk(27.2%, 77%, 0%, 25.1%) |
| CIE-LAB | lab(39.67, 62.08, -58.64) |
| CIE-LCH | lch(39.67, 85.40, 316.63°) |
| OKLab | oklab(50.79% 0.14 -0.1663) |
| OKLCH | oklch(50.79% 0.217 310.1) |
| XYZ | xyz(20.9503, 11.0524, 50.3098) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.43
Darkviolet
#9400D3
ΔE00 3.51
Blueviolet
#8A2BE2
ΔE00 4.91
Purply
#983FB2
ΔE00 5.41
Violet (survey)
#9A0EEA
ΔE00 5.74
Purple (survey)
#7E1E9C
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2CBF #60BF2C
analogous
#422CBF #8B2CBF #BF2CA9
triadic
#8B2CBF #BF8B2C #2CBF8B
tetradic
#8B2CBF #BF422C #60BF2C #2CA9BF
square
#8B2CBF #BF422C #60BF2C #2CA9BF
split-complementary
#8B2CBF #A9BF2C #2CBF42
monochromatic
#43155C #67218D #8B2CBF #A851D7 #C183E2
Accessibility & contrast
On white
6.54
#8B2CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#8B2CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2CBF
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2CBF | 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)
#845075
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8b2cbf; /* rgb */ color: rgb(139, 44, 191); /* oklch */ color: oklch(50.8% 0.217 310.1);
Tailwind
colors: {
custom: {
50: '#b270d3',
500: '#8b2cbf',
950: '#000000',
},
}SCSS
$custom: #8b2cbf; $custom-light: #b270d3; $custom-dark: #000000;
JSON
{
"hex": "#8b2cbf",
"rgb": {
"r": 139,
"g": 44,
"b": 191
},
"hsl": {
"h": 278.776,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.50787,
"c": 0.21737,
"h": 310.1
},
"luminance": 0.11052
}Semantic roles & 50–950 ramp
primary
#8B2CBF
secondary
#98CC7B
accent
#E6427C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83