#7545C5#7545C5
#7545C5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.190 H 296.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7545C5 |
|---|---|
| RGB | rgb(117, 69, 197) |
| HSL | hsl(263, 52%, 52%) |
| HSV | hsv(263, 65%, 77%) |
| CMYK | cmyk(40.6%, 65%, 0%, 22.7%) |
| CIE-LAB | lab(41.33, 48.00, -59.58) |
| CIE-LCH | lch(41.33, 76.51, 308.86°) |
| OKLab | oklab(51.5% 0.0842 -0.17) |
| OKLCH | oklch(51.5% 0.19 296.3) |
| XYZ | xyz(19.5397, 12.0690, 54.1126) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.49
Bluish Purple
#703BE7
ΔE00 4.83
Burple
#6832E3
ΔE00 5.58
Blueviolet
#8A2BE2
ΔE00 5.77
Royal Purple
#7851A9
ΔE00 5.94
Blurple
#5539CC
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7545C5 #95C545
analogous
#4555C5 #7545C5 #B545C5
triadic
#7545C5 #C57545 #45C575
tetradic
#7545C5 #C54555 #95C545 #45C5B5
square
#7545C5 #C54555 #95C545 #45C5B5
split-complementary
#7545C5 #C5B545 #55C545
monochromatic
#3E226D #59319C #7545C5 #9874D4 #BAA2E2
Accessibility & contrast
On white
6.15
#7545C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#7545C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7545C5
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7545C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7545C5 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#61637F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7545c5; /* rgb */ color: rgb(117, 69, 197); /* oklch */ color: oklch(51.5% 0.190 296.3);
Tailwind
colors: {
custom: {
50: '#a37bd7',
500: '#7545c5',
950: '#000000',
},
}SCSS
$custom: #7545c5; $custom-light: #a37bd7; $custom-dark: #000000;
JSON
{
"hex": "#7545c5",
"rgb": {
"r": 117,
"g": 69,
"b": 197
},
"hsl": {
"h": 262.5,
"s": 52.459,
"l": 52.157
},
"oklch": {
"l": 0.51501,
"c": 0.18967,
"h": 296.3
},
"luminance": 0.12069
}Semantic roles & 50–950 ramp
primary
#7545C5
secondary
#BACF97
accent
#DC4CA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83