#8B3DC0#8B3DC0
#8B3DC0 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.6% C 0.199 H 308.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3DC0 |
|---|---|
| RGB | rgb(139, 61, 192) |
| HSL | hsl(276, 52%, 50%) |
| HSV | hsv(276, 68%, 75%) |
| CMYK | cmyk(27.6%, 68.2%, 0%, 24.7%) |
| CIE-LAB | lab(42.20, 55.32, -55.12) |
| CIE-LCH | lch(42.20, 78.09, 315.10°) |
| OKLab | oklab(52.61% 0.1233 -0.1561) |
| OKLCH | oklch(52.61% 0.199 308.3) |
| XYZ | xyz(21.8287, 12.6326, 51.1473) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.82
Purply
#983FB2
ΔE00 4.08
Blueviolet
#8A2BE2
ΔE00 5.15
Darkviolet
#9400D3
ΔE00 5.69
Violet (survey)
#9A0EEA
ΔE00 6.39
Royal Purple
#7851A9
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3DC0 #72C03D
analogous
#493DC0 #8B3DC0 #C03DB4
triadic
#8B3DC0 #C08B3D #3DC08B
tetradic
#8B3DC0 #C0493D #72C03D #3DB4C0
square
#8B3DC0 #C0493D #72C03D #3DB4C0
split-complementary
#8B3DC0 #B4C03D #3DC049
monochromatic
#481F63 #692E92 #8B3DC0 #A76AD0 #C299DF
Accessibility & contrast
On white
5.96
#8B3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8B3DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3DC0
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3DC0 | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#2164BD
Tritanopia (blue-blind)
#83597A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8b3dc0; /* rgb */ color: rgb(139, 61, 192); /* oklch */ color: oklch(52.6% 0.199 308.3);
Tailwind
colors: {
custom: {
50: '#b178d4',
500: '#8b3dc0',
950: '#000000',
},
}SCSS
$custom: #8b3dc0; $custom-light: #b178d4; $custom-dark: #000000;
JSON
{
"hex": "#8b3dc0",
"rgb": {
"r": 139,
"g": 61,
"b": 192
},
"hsl": {
"h": 275.725,
"s": 51.779,
"l": 49.608
},
"oklch": {
"l": 0.52608,
"c": 0.19889,
"h": 308.3
},
"luminance": 0.12632
}Semantic roles & 50–950 ramp
primary
#8B3DC0
secondary
#A7CA8E
accent
#DB4D86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83