#8B48BF#8B48BF
#8B48BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.183 H 307.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8B48BF |
|---|---|
| RGB | rgb(139, 72, 191) |
| HSL | hsl(274, 48%, 52%) |
| HSV | hsv(274, 62%, 75%) |
| CMYK | cmyk(27.2%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(44.07, 49.78, -51.53) |
| CIE-LCH | lch(44.07, 71.65, 314.01°) |
| OKLab | oklab(53.93% 0.1107 -0.1456) |
| OKLCH | oklch(53.93% 0.183 307.3) |
| XYZ | xyz(22.3668, 13.8856, 50.7820) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.13
Darkorchid
#9932CC
ΔE00 4.23
Royal Purple
#7851A9
ΔE00 5.24
Deep Lavender
#8D5EB7
ΔE00 6.18
Blueviolet
#8A2BE2
ΔE00 6.58
Purpley
#8756E4
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B48BF #7CBF48
analogous
#5048BF #8B48BF #BF48B7
triadic
#8B48BF #BF8B48 #48BF8B
tetradic
#8B48BF #BF5048 #7CBF48 #48B7BF
square
#8B48BF #BF5048 #7CBF48 #48B7BF
split-complementary
#8B48BF #B7BF48 #48BF50
monochromatic
#4B2468 #6B3496 #8B48BF #A875CF #C4A3DF
Accessibility & contrast
On white
5.56
#8B48BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#8B48BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B48BF
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B48BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B48BF | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0366C3
Deuteranopia (green-blind)
#3269BC
Tritanopia (blue-blind)
#83607D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8b48bf; /* rgb */ color: rgb(139, 72, 191); /* oklch */ color: oklch(53.9% 0.183 307.3);
Tailwind
colors: {
custom: {
50: '#b17fd3',
500: '#8b48bf',
950: '#000000',
},
}SCSS
$custom: #8b48bf; $custom-light: #b17fd3; $custom-dark: #000000;
JSON
{
"hex": "#8b48bf",
"rgb": {
"r": 139,
"g": 72,
"b": 191
},
"hsl": {
"h": 273.782,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.5393,
"c": 0.18293,
"h": 307.3
},
"luminance": 0.13885
}Semantic roles & 50–950 ramp
primary
#8B48BF
secondary
#AECC97
accent
#D8508B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83