#8545C5#8545C5
#8545C5 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.192 H 303.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8545C5 |
|---|---|
| RGB | rgb(133, 69, 197) |
| HSL | hsl(270, 52%, 52%) |
| HSV | hsv(270, 65%, 77%) |
| CMYK | cmyk(32.5%, 65%, 0%, 22.7%) |
| CIE-LAB | lab(43.17, 51.36, -56.50) |
| CIE-LCH | lch(43.17, 76.36, 312.27°) |
| OKLab | oklab(53.25% 0.1059 -0.1604) |
| OKLCH | oklch(53.25% 0.192 303.4) |
| XYZ | xyz(21.8767, 13.2740, 54.2221) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.23
Blueviolet
#8A2BE2
ΔE00 5.22
Purply
#983FB2
ΔE00 5.57
Royal Purple
#7851A9
ΔE00 5.72
Bluish Purple
#703BE7
ΔE00 6.31
Bluey Purple
#6241C7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8545C5 #85C545
analogous
#4545C5 #8545C5 #C545C5
triadic
#8545C5 #C58545 #45C585
tetradic
#8545C5 #C54545 #85C545 #45C5C5
square
#8545C5 #C54545 #85C545 #45C5C5
split-complementary
#8545C5 #C5C545 #45C545
monochromatic
#48226D #66319C #8545C5 #A474D4 #C2A2E2
Accessibility & contrast
On white
5.75
#8545C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#8545C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8545C5
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8545C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8545C5 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#1A66C2
Tritanopia (blue-blind)
#79617F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8545c5; /* rgb */ color: rgb(133, 69, 197); /* oklch */ color: oklch(53.2% 0.192 303.4);
Tailwind
colors: {
custom: {
50: '#ad7dd7',
500: '#8545c5',
950: '#000000',
},
}SCSS
$custom: #8545c5; $custom-light: #ad7dd7; $custom-dark: #000000;
JSON
{
"hex": "#8545c5",
"rgb": {
"r": 133,
"g": 69,
"b": 197
},
"hsl": {
"h": 270,
"s": 52.459,
"l": 52.157
},
"oklch": {
"l": 0.53248,
"c": 0.1922,
"h": 303.4
},
"luminance": 0.13274
}Semantic roles & 50–950 ramp
primary
#8545C5
secondary
#B3CF97
accent
#DC4C94
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83