#8B4CBE#8B4CBE
#8B4CBE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.176 H 307.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4CBE |
|---|---|
| RGB | rgb(139, 76, 190) |
| HSL | hsl(273, 47%, 52%) |
| HSV | hsv(273, 60%, 75%) |
| CMYK | cmyk(26.8%, 60%, 0%, 25.5%) |
| CIE-LAB | lab(44.77, 47.49, -49.83) |
| CIE-LCH | lch(44.77, 68.83, 313.62°) |
| OKLab | oklab(54.42% 0.1059 -0.1406) |
| OKLCH | oklch(54.42% 0.176 307) |
| XYZ | xyz(22.5242, 14.3758, 50.2934) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.44
Royal Purple
#7851A9
ΔE00 4.85
Darkorchid
#9932CC
ΔE00 5.03
Deep Lavender
#8D5EB7
ΔE00 5.23
Amethyst
#9B5FC0
ΔE00 6.43
Purpley
#8756E4
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4CBE #7FBE4C
analogous
#524CBE #8B4CBE #BE4CB8
triadic
#8B4CBE #BE8B4C #4CBE8B
tetradic
#8B4CBE #BE524C #7FBE4C #4CB8BE
square
#8B4CBE #BE524C #7FBE4C #4CB8BE
split-complementary
#8B4CBE #B8BE4C #4CBE52
monochromatic
#4B2669 #6B3796 #8B4CBE #A879CE #C5A6DF
Accessibility & contrast
On white
5.42
#8B4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#8B4CBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4CBE
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4CBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4CBE | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1968C2
Deuteranopia (green-blind)
#386ABB
Tritanopia (blue-blind)
#83627E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8b4cbe; /* rgb */ color: rgb(139, 76, 190); /* oklch */ color: oklch(54.4% 0.176 307.0);
Tailwind
colors: {
custom: {
50: '#b081d2',
500: '#8b4cbe',
950: '#000000',
},
}SCSS
$custom: #8b4cbe; $custom-light: #b081d2; $custom-dark: #000000;
JSON
{
"hex": "#8b4cbe",
"rgb": {
"r": 139,
"g": 76,
"b": 190
},
"hsl": {
"h": 273.158,
"s": 46.721,
"l": 52.157
},
"oklch": {
"l": 0.54418,
"c": 0.17601,
"h": 307
},
"luminance": 0.14376
}Semantic roles & 50–950 ramp
primary
#8B4CBE
secondary
#B0CC9A
accent
#D6518D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83