#8B3DB8#8B3DB8
#8B3DB8 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.1% C 0.191 H 310.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3DB8 |
|---|---|
| RGB | rgb(139, 61, 184) |
| HSL | hsl(278, 50%, 48%) |
| HSV | hsv(278, 67%, 72%) |
| CMYK | cmyk(24.5%, 66.8%, 0%, 27.8%) |
| CIE-LAB | lab(41.67, 53.53, -51.30) |
| CIE-LCH | lch(41.67, 74.14, 316.22°) |
| OKLab | oklab(52.05% 0.124 -0.1448) |
| OKLCH | oklch(52.05% 0.191 310.6) |
| XYZ | xyz(20.9663, 12.2876, 46.6054) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.24
Darkorchid
#9932CC
ΔE00 3.51
Royal Purple
#7851A9
ΔE00 6.21
Darkviolet
#9400D3
ΔE00 6.21
Blueviolet
#8A2BE2
ΔE00 6.31
Barney
#AC1DB8
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3DB8 #6AB83D
analogous
#4E3DB8 #8B3DB8 #B83DA7
triadic
#8B3DB8 #B88B3D #3DB88B
tetradic
#8B3DB8 #B84E3D #6AB83D #3DA7B8
square
#8B3DB8 #B84E3D #6AB83D #3DA7B8
split-complementary
#8B3DB8 #A7B83D #3DB84E
monochromatic
#461F5C #682E8A #8B3DB8 #A766CC #C194DB
Accessibility & contrast
On white
6.07
#8B3DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#8B3DB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3DB8
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3DB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3DB8 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#2D64B5
Tritanopia (blue-blind)
#855675
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8b3db8; /* rgb */ color: rgb(139, 61, 184); /* oklch */ color: oklch(52.1% 0.191 310.6);
Tailwind
colors: {
custom: {
50: '#b178ce',
500: '#8b3db8',
950: '#000000',
},
}SCSS
$custom: #8b3db8; $custom-light: #b178ce; $custom-dark: #000000;
JSON
{
"hex": "#8b3db8",
"rgb": {
"r": 139,
"g": 61,
"b": 184
},
"hsl": {
"h": 278.049,
"s": 50.204,
"l": 48.039
},
"oklch": {
"l": 0.52055,
"c": 0.1907,
"h": 310.6
},
"luminance": 0.12287
}Semantic roles & 50–950 ramp
primary
#8B3DB8
secondary
#A0C78A
accent
#DA4E81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82