#8B2FBC#8B2FBC
#8B2FBC is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.211 H 310.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2FBC |
|---|---|
| RGB | rgb(139, 47, 188) |
| HSL | hsl(279, 60%, 46%) |
| HSV | hsv(279, 75%, 74%) |
| CMYK | cmyk(26.1%, 75%, 0%, 26.3%) |
| CIE-LAB | lab(39.84, 60.34, -56.60) |
| CIE-LCH | lch(39.84, 82.73, 316.83°) |
| OKLab | oklab(50.84% 0.1379 -0.1603) |
| OKLCH | oklch(50.84% 0.211 310.7) |
| XYZ | xyz(20.7393, 11.1533, 48.6275) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.42
Darkviolet
#9400D3
ΔE00 4.06
Purply
#983FB2
ΔE00 4.90
Blueviolet
#8A2BE2
ΔE00 5.32
Purple (survey)
#7E1E9C
ΔE00 6.05
Barney
#AC1DB8
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2FBC #60BC2F
analogous
#442FBC #8B2FBC #BC2FA6
triadic
#8B2FBC #BC8B2F #2FBC8B
tetradic
#8B2FBC #BC442F #60BC2F #2FA6BC
square
#8B2FBC #BC442F #60BC2F #2FA6BC
split-complementary
#8B2FBC #A6BC2F #2FBC44
monochromatic
#43175A #67238B #8B2FBC #A854D4 #C185E0
Accessibility & contrast
On white
6.50
#8B2FBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#8B2FBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2FBC
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2FBC | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0F5FB9
Tritanopia (blue-blind)
#845074
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8b2fbc; /* rgb */ color: rgb(139, 47, 188); /* oklch */ color: oklch(50.8% 0.211 310.7);
Tailwind
colors: {
custom: {
50: '#b271d1',
500: '#8b2fbc',
950: '#000000',
},
}SCSS
$custom: #8b2fbc; $custom-light: #b271d1; $custom-dark: #000000;
JSON
{
"hex": "#8b2fbc",
"rgb": {
"r": 139,
"g": 47,
"b": 188
},
"hsl": {
"h": 279.149,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.50837,
"c": 0.21148,
"h": 310.7
},
"luminance": 0.11153
}Semantic roles & 50–950 ramp
primary
#8B2FBC
secondary
#98CA7D
accent
#E3457C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82