#8B3EB7#8B3EB7
#8B3EB7 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.188 H 310.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3EB7 |
|---|---|
| RGB | rgb(139, 62, 183) |
| HSL | hsl(278, 49%, 48%) |
| HSV | hsv(278, 66%, 72%) |
| CMYK | cmyk(24%, 66.1%, 0%, 28.2%) |
| CIE-LAB | lab(41.77, 52.85, -50.54) |
| CIE-LCH | lch(41.77, 73.12, 316.28°) |
| OKLab | oklab(52.11% 0.123 -0.1426) |
| OKLCH | oklch(52.11% 0.188 310.8) |
| XYZ | xyz(20.9157, 12.3536, 46.0732) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.10
Darkorchid
#9932CC
ΔE00 3.68
Royal Purple
#7851A9
ΔE00 6.03
Barney
#AC1DB8
ΔE00 6.35
Darkviolet
#9400D3
ΔE00 6.46
Blueviolet
#8A2BE2
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3EB7 #6AB73E
analogous
#4E3EB7 #8B3EB7 #B73EA6
triadic
#8B3EB7 #B78B3E #3EB78B
tetradic
#8B3EB7 #B74E3E #6AB73E #3EA6B7
square
#8B3EB7 #B74E3E #6AB73E #3EA6B7
split-complementary
#8B3EB7 #A6B73E #3EB74E
monochromatic
#461F5C #682F89 #8B3EB7 #A767CB #C194DB
Accessibility & contrast
On white
6.05
#8B3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#8B3EB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3EB7
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3EB7 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#2F64B4
Tritanopia (blue-blind)
#855775
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8b3eb7; /* rgb */ color: rgb(139, 62, 183); /* oklch */ color: oklch(52.1% 0.188 310.8);
Tailwind
colors: {
custom: {
50: '#b179cd',
500: '#8b3eb7',
950: '#000000',
},
}SCSS
$custom: #8b3eb7; $custom-light: #b179cd; $custom-dark: #000000;
JSON
{
"hex": "#8b3eb7",
"rgb": {
"r": 139,
"g": 62,
"b": 183
},
"hsl": {
"h": 278.182,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.52108,
"c": 0.18834,
"h": 310.8
},
"luminance": 0.12353
}Semantic roles & 50–950 ramp
primary
#8B3EB7
secondary
#A0C68A
accent
#D94F81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82