#8B2FC2#8B2FC2
#8B2FC2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.217 H 309.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2FC2 |
|---|---|
| RGB | rgb(139, 47, 194) |
| HSL | hsl(278, 61%, 47%) |
| HSV | hsv(278, 76%, 76%) |
| CMYK | cmyk(28.4%, 75.8%, 0%, 23.9%) |
| CIE-LAB | lab(40.27, 61.61, -59.41) |
| CIE-LCH | lch(40.27, 85.59, 316.04°) |
| OKLab | oklab(51.28% 0.1368 -0.1686) |
| OKLCH | oklch(51.28% 0.217 309) |
| XYZ | xyz(21.3996, 11.4174, 52.1049) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.99
Darkviolet
#9400D3
ΔE00 3.58
Blueviolet
#8A2BE2
ΔE00 4.41
Purply
#983FB2
ΔE00 5.33
Violet (survey)
#9A0EEA
ΔE00 5.39
Vibrant Purple
#AD03DE
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2FC2 #66C22F
analogous
#412FC2 #8B2FC2 #C22FB0
triadic
#8B2FC2 #C28B2F #2FC28B
tetradic
#8B2FC2 #C2412F #66C22F #2FB0C2
square
#8B2FC2 #C2412F #66C22F #2FB0C2
split-complementary
#8B2FC2 #B0C22F #2FC241
monochromatic
#44175F #682391 #8B2FC2 #A758D6 #C189E2
Accessibility & contrast
On white
6.40
#8B2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#8B2FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B2FC2
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2FC2 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#835377
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8b2fc2; /* rgb */ color: rgb(139, 47, 194); /* oklch */ color: oklch(51.3% 0.217 309.0);
Tailwind
colors: {
custom: {
50: '#b271d5',
500: '#8b2fc2',
950: '#000000',
},
}SCSS
$custom: #8b2fc2; $custom-light: #b271d5; $custom-dark: #000000;
JSON
{
"hex": "#8b2fc2",
"rgb": {
"r": 139,
"g": 47,
"b": 194
},
"hsl": {
"h": 277.551,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.51283,
"c": 0.21709,
"h": 309
},
"luminance": 0.11417
}Semantic roles & 50–950 ramp
primary
#8B2FC2
secondary
#9DCC81
accent
#E44480
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83