#8546C5#8546C5
#8546C5 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.191 H 303.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8546C5 |
|---|---|
| RGB | rgb(133, 70, 197) |
| HSL | hsl(270, 52%, 52%) |
| HSV | hsv(270, 64%, 77%) |
| CMYK | cmyk(32.5%, 64.5%, 0%, 22.7%) |
| CIE-LAB | lab(43.36, 50.86, -56.21) |
| CIE-LCH | lch(43.36, 75.80, 312.14°) |
| OKLab | oklab(53.38% 0.1048 -0.1595) |
| OKLCH | oklch(53.38% 0.191 303.3) |
| XYZ | xyz(21.9388, 13.3981, 54.2428) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.36
Blueviolet
#8A2BE2
ΔE00 5.37
Purply
#983FB2
ΔE00 5.61
Royal Purple
#7851A9
ΔE00 5.61
Bluish Purple
#703BE7
ΔE00 6.39
Purpley
#8756E4
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8546C5 #86C546
analogous
#4647C5 #8546C5 #C546C5
triadic
#8546C5 #C58546 #46C585
tetradic
#8546C5 #C54647 #86C546 #46C5C5
square
#8546C5 #C54647 #86C546 #46C5C5
split-complementary
#8546C5 #C5C546 #47C546
monochromatic
#48236E #66319D #8546C5 #A475D4 #C2A3E2
Accessibility & contrast
On white
5.71
#8546C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#8546C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8546C5
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8546C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8546C5 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#1C66C2
Tritanopia (blue-blind)
#79627F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8546c5; /* rgb */ color: rgb(133, 70, 197); /* oklch */ color: oklch(53.4% 0.191 303.3);
Tailwind
colors: {
custom: {
50: '#ad7dd7',
500: '#8546c5',
950: '#000000',
},
}SCSS
$custom: #8546c5; $custom-light: #ad7dd7; $custom-dark: #000000;
JSON
{
"hex": "#8546c5",
"rgb": {
"r": 133,
"g": 70,
"b": 197
},
"hsl": {
"h": 269.764,
"s": 52.263,
"l": 52.353
},
"oklch": {
"l": 0.5338,
"c": 0.19085,
"h": 303.3
},
"luminance": 0.13398
}Semantic roles & 50–950 ramp
primary
#8546C5
secondary
#B4CF98
accent
#DC4C94
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83