#8B4BCA#8B4BCA
#8B4BCA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.1% C 0.191 H 304.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4BCA |
|---|---|
| RGB | rgb(139, 75, 202) |
| HSL | hsl(270, 55%, 54%) |
| HSV | hsv(270, 63%, 79%) |
| CMYK | cmyk(31.2%, 62.9%, 0%, 20.8%) |
| CIE-LAB | lab(45.34, 50.85, -55.87) |
| CIE-LCH | lch(45.34, 75.55, 312.31°) |
| OKLab | oklab(55.08% 0.1066 -0.1583) |
| OKLCH | oklch(55.08% 0.191 304) |
| XYZ | xyz(23.8218, 14.7855, 57.4646) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.68
Purpley
#8756E4
ΔE00 5.11
Purply
#983FB2
ΔE00 5.76
Blueviolet
#8A2BE2
ΔE00 6.07
Royal Purple
#7851A9
ΔE00 6.16
Deep Lavender
#8D5EB7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4BCA #8ACA4B
analogous
#4C4BCA #8B4BCA #CA4BCA
triadic
#8B4BCA #CA8B4B #4BCA8B
tetradic
#8B4BCA #CA4C4B #8ACA4B #4BCACA
square
#8B4BCA #CA4C4B #8ACA4B #4BCACA
split-complementary
#8B4BCA #CACA4B #4BCA4C
monochromatic
#4E2377 #6C31A7 #8B4BCA #A97AD8 #C8AAE6
Accessibility & contrast
On white
5.31
#8B4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8B4BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4BCA
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4BCA | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#276BC7
Tritanopia (blue-blind)
#7F6684
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8b4bca; /* rgb */ color: rgb(139, 75, 202); /* oklch */ color: oklch(55.1% 0.191 304.0);
Tailwind
colors: {
custom: {
50: '#b181db',
500: '#8b4bca',
950: '#000000',
},
}SCSS
$custom: #8b4bca; $custom-light: #b181db; $custom-dark: #000000;
JSON
{
"hex": "#8b4bca",
"rgb": {
"r": 139,
"g": 75,
"b": 202
},
"hsl": {
"h": 270.236,
"s": 54.506,
"l": 54.314
},
"oklch": {
"l": 0.55077,
"c": 0.1909,
"h": 304
},
"luminance": 0.14785
}Semantic roles & 50–950 ramp
primary
#8B4BCA
secondary
#B8D39D
accent
#DE4A93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83