#8B45CA#8B45CA
#8B45CA is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.3% C 0.199 H 304.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8B45CA |
|---|---|
| RGB | rgb(139, 69, 202) |
| HSL | hsl(272, 56%, 53%) |
| HSV | hsv(272, 66%, 79%) |
| CMYK | cmyk(31.2%, 65.8%, 0%, 20.8%) |
| CIE-LAB | lab(44.25, 53.84, -57.63) |
| CIE-LCH | lch(44.25, 78.87, 313.05°) |
| OKLab | oklab(54.29% 0.1135 -0.1635) |
| OKLCH | oklch(54.29% 0.199 304.8) |
| XYZ | xyz(23.4339, 14.0096, 57.3352) |
| Luminance | 0.1401 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.59
Blueviolet
#8A2BE2
ΔE00 4.99
Purply
#983FB2
ΔE00 5.34
Purpley
#8756E4
ΔE00 5.99
Violet (survey)
#9A0EEA
ΔE00 6.46
Royal Purple
#7851A9
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B45CA #84CA45
analogous
#4845CA #8B45CA #CA45C7
triadic
#8B45CA #CA8B45 #45CA8B
tetradic
#8B45CA #CA4845 #84CA45 #45C7CA
square
#8B45CA #CA4845 #84CA45 #45C7CA
split-complementary
#8B45CA #C7CA45 #45CA48
monochromatic
#4C2174 #6C2FA3 #8B45CA #A975D8 #C6A4E5
Accessibility & contrast
On white
5.52
#8B45CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#8B45CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B45CA
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B45CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B45CA | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#1C69C7
Tritanopia (blue-blind)
#7F6282
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8b45ca; /* rgb */ color: rgb(139, 69, 202); /* oklch */ color: oklch(54.3% 0.199 304.8);
Tailwind
colors: {
custom: {
50: '#b17ddb',
500: '#8b45ca',
950: '#000000',
},
}SCSS
$custom: #8b45ca; $custom-light: #b17ddb; $custom-dark: #000000;
JSON
{
"hex": "#8b45ca",
"rgb": {
"r": 139,
"g": 69,
"b": 202
},
"hsl": {
"h": 271.579,
"s": 55.649,
"l": 53.137
},
"oklch": {
"l": 0.54289,
"c": 0.19901,
"h": 304.8
},
"luminance": 0.14009
}Semantic roles & 50–950 ramp
primary
#8B45CA
secondary
#B4D299
accent
#DF4990
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83