#8B45CD#8B45CD
#8B45CD is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.202 H 304.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8B45CD |
|---|---|
| RGB | rgb(139, 69, 205) |
| HSL | hsl(271, 58%, 54%) |
| HSV | hsv(271, 66%, 80%) |
| CMYK | cmyk(32.2%, 66.3%, 0%, 19.6%) |
| CIE-LAB | lab(44.45, 54.55, -59.03) |
| CIE-LCH | lch(44.45, 80.38, 312.74°) |
| OKLab | oklab(54.5% 0.1132 -0.1676) |
| OKLCH | oklch(54.5% 0.202 304) |
| XYZ | xyz(23.7925, 14.1531, 59.2241) |
| Luminance | 0.1415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.69
Blueviolet
#8A2BE2
ΔE00 4.76
Purpley
#8756E4
ΔE00 5.64
Purply
#983FB2
ΔE00 5.74
Violet (survey)
#9A0EEA
ΔE00 6.26
Bluish Purple
#703BE7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B45CD #87CD45
analogous
#4745CD #8B45CD #CD45CB
triadic
#8B45CD #CD8B45 #45CD8B
tetradic
#8B45CD #CD4745 #87CD45 #45CBCD
square
#8B45CD #CD4745 #87CD45 #45CBCD
split-complementary
#8B45CD #CBCD45 #45CD47
monochromatic
#4D2077 #6C2DA8 #8B45CD #A975DA #C7A5E7
Accessibility & contrast
On white
5.48
#8B45CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#8B45CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B45CD
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B45CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B45CD | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#1469CA
Tritanopia (blue-blind)
#7F6383
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8b45cd; /* rgb */ color: rgb(139, 69, 205); /* oklch */ color: oklch(54.5% 0.202 304.0);
Tailwind
colors: {
custom: {
50: '#b27ddd',
500: '#8b45cd',
950: '#000000',
},
}SCSS
$custom: #8b45cd; $custom-light: #b27ddd; $custom-dark: #000000;
JSON
{
"hex": "#8b45cd",
"rgb": {
"r": 139,
"g": 69,
"b": 205
},
"hsl": {
"h": 270.882,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.54501,
"c": 0.20224,
"h": 304
},
"luminance": 0.14153
}Semantic roles & 50–950 ramp
primary
#8B45CD
secondary
#B6D49A
accent
#E14792
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83