#7546C5#7546C5
#7546C5 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.188 H 296.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7546C5 |
|---|---|
| RGB | rgb(117, 70, 197) |
| HSL | hsl(262, 52%, 52%) |
| HSV | hsv(262, 64%, 77%) |
| CMYK | cmyk(40.6%, 64.5%, 0%, 22.7%) |
| CIE-LAB | lab(41.52, 47.47, -59.27) |
| CIE-LCH | lch(41.52, 75.93, 308.69°) |
| OKLab | oklab(51.64% 0.0831 -0.169) |
| OKLCH | oklch(51.64% 0.188 296.2) |
| XYZ | xyz(19.6017, 12.1931, 54.1332) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.56
Bluish Purple
#703BE7
ΔE00 4.91
Burple
#6832E3
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 5.82
Blueviolet
#8A2BE2
ΔE00 5.91
Light Indigo
#6D5ACF
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7546C5 #96C546
analogous
#4656C5 #7546C5 #B546C5
triadic
#7546C5 #C57546 #46C575
tetradic
#7546C5 #C54656 #96C546 #46C5B5
square
#7546C5 #C54656 #96C546 #46C5B5
split-complementary
#7546C5 #C5B546 #56C546
monochromatic
#3E236E #59319D #7546C5 #9875D4 #BBA3E2
Accessibility & contrast
On white
6.11
#7546C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#7546C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7546C5
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7546C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7546C5 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#61637F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7546c5; /* rgb */ color: rgb(117, 70, 197); /* oklch */ color: oklch(51.6% 0.188 296.2);
Tailwind
colors: {
custom: {
50: '#a37cd7',
500: '#7546c5',
950: '#000000',
},
}SCSS
$custom: #7546c5; $custom-light: #a37cd7; $custom-dark: #000000;
JSON
{
"hex": "#7546c5",
"rgb": {
"r": 117,
"g": 70,
"b": 197
},
"hsl": {
"h": 262.205,
"s": 52.263,
"l": 52.353
},
"oklch": {
"l": 0.51642,
"c": 0.18835,
"h": 296.2
},
"luminance": 0.12193
}Semantic roles & 50–950 ramp
primary
#7546C5
secondary
#BBCF98
accent
#DC4CA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83