#8B3FBC#8B3FBC
#8B3FBC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.192 H 309.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3FBC |
|---|---|
| RGB | rgb(139, 63, 188) |
| HSL | hsl(276, 50%, 49%) |
| HSV | hsv(276, 66%, 74%) |
| CMYK | cmyk(26.1%, 66.5%, 0%, 26.3%) |
| CIE-LAB | lab(42.27, 53.49, -52.68) |
| CIE-LCH | lch(42.27, 75.07, 315.44°) |
| OKLab | oklab(52.57% 0.1215 -0.1489) |
| OKLCH | oklch(52.57% 0.192 309.2) |
| XYZ | xyz(21.5003, 12.6752, 48.8811) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.25
Purply
#983FB2
ΔE00 3.55
Blueviolet
#8A2BE2
ΔE00 5.88
Royal Purple
#7851A9
ΔE00 6.09
Darkviolet
#9400D3
ΔE00 6.26
Barney
#AC1DB8
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3FBC #70BC3F
analogous
#4D3FBC #8B3FBC #BC3FAF
triadic
#8B3FBC #BC8B3F #3FBC8B
tetradic
#8B3FBC #BC4D3F #70BC3F #3FAFBC
square
#8B3FBC #BC4D3F #70BC3F #3FAFBC
split-complementary
#8B3FBC #AFBC3F #3FBC4D
monochromatic
#472060 #69308E #8B3FBC #A76BCD #C299DD
Accessibility & contrast
On white
5.94
#8B3FBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#8B3FBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3FBC
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3FBC | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#845978
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8b3fbc; /* rgb */ color: rgb(139, 63, 188); /* oklch */ color: oklch(52.6% 0.192 309.2);
Tailwind
colors: {
custom: {
50: '#b179d1',
500: '#8b3fbc',
950: '#000000',
},
}SCSS
$custom: #8b3fbc; $custom-light: #b179d1; $custom-dark: #000000;
JSON
{
"hex": "#8b3fbc",
"rgb": {
"r": 139,
"g": 63,
"b": 188
},
"hsl": {
"h": 276.48,
"s": 49.801,
"l": 49.216
},
"oklch": {
"l": 0.5257,
"c": 0.19216,
"h": 309.2
},
"luminance": 0.12675
}Semantic roles & 50–950 ramp
primary
#8B3FBC
secondary
#A5C98E
accent
#D94E85
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82