#8B2FC1#8B2FC1
#8B2FC1 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.216 H 309.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2FC1 |
|---|---|
| RGB | rgb(139, 47, 193) |
| HSL | hsl(278, 61%, 47%) |
| HSV | hsv(278, 76%, 76%) |
| CMYK | cmyk(28%, 75.6%, 0%, 24.3%) |
| CIE-LAB | lab(40.20, 61.40, -58.95) |
| CIE-LCH | lch(40.20, 85.11, 316.17°) |
| OKLab | oklab(51.21% 0.137 -0.1672) |
| OKLCH | oklch(51.21% 0.216 309.3) |
| XYZ | xyz(21.2877, 11.3727, 51.5155) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.05
Darkviolet
#9400D3
ΔE00 3.65
Blueviolet
#8A2BE2
ΔE00 4.56
Purply
#983FB2
ΔE00 5.26
Violet (survey)
#9A0EEA
ΔE00 5.51
Vibrant Purple
#AD03DE
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2FC1 #65C12F
analogous
#422FC1 #8B2FC1 #C12FAE
triadic
#8B2FC1 #C18B2F #2FC18B
tetradic
#8B2FC1 #C1422F #65C12F #2FAEC1
square
#8B2FC1 #C1422F #65C12F #2FAEC1
split-complementary
#8B2FC1 #AEC12F #2FC142
monochromatic
#44175F #682390 #8B2FC1 #A757D6 #C188E2
Accessibility & contrast
On white
6.41
#8B2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#8B2FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2FC1
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2FC1 | 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)
#005BC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#835277
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8b2fc1; /* rgb */ color: rgb(139, 47, 193); /* oklch */ color: oklch(51.2% 0.216 309.3);
Tailwind
colors: {
custom: {
50: '#b271d5',
500: '#8b2fc1',
950: '#000000',
},
}SCSS
$custom: #8b2fc1; $custom-light: #b271d5; $custom-dark: #000000;
JSON
{
"hex": "#8b2fc1",
"rgb": {
"r": 139,
"g": 47,
"b": 193
},
"hsl": {
"h": 277.808,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.51208,
"c": 0.21616,
"h": 309.3
},
"luminance": 0.11372
}Semantic roles & 50–950 ramp
primary
#8B2FC1
secondary
#9CCC80
accent
#E4447F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83