#7547C5#7547C5
#7547C5 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.187 H 296.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7547C5 |
|---|---|
| RGB | rgb(117, 71, 197) |
| HSL | hsl(262, 52%, 53%) |
| HSV | hsv(262, 64%, 77%) |
| CMYK | cmyk(40.6%, 64%, 0%, 22.7%) |
| CIE-LAB | lab(41.72, 46.94, -58.95) |
| CIE-LCH | lch(41.72, 75.35, 308.53°) |
| OKLab | oklab(51.79% 0.082 -0.1681) |
| OKLCH | oklch(51.79% 0.187 296) |
| XYZ | xyz(19.6648, 12.3192, 54.1543) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.66
Bluish Purple
#703BE7
ΔE00 5.00
Royal Purple
#7851A9
ΔE00 5.70
Light Indigo
#6D5ACF
ΔE00 5.84
Burple
#6832E3
ΔE00 5.89
Slate Blue
#6A5ACD
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7547C5 #97C547
analogous
#4758C5 #7547C5 #B447C5
triadic
#7547C5 #C57547 #47C575
tetradic
#7547C5 #C54758 #97C547 #47C5B4
square
#7547C5 #C54758 #97C547 #47C5B4
split-complementary
#7547C5 #C5B447 #58C547
monochromatic
#3F236F #59329D #7547C5 #9876D4 #BBA4E2
Accessibility & contrast
On white
6.06
#7547C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#7547C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7547C5
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7547C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7547C5 | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#616480
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7547c5; /* rgb */ color: rgb(117, 71, 197); /* oklch */ color: oklch(51.8% 0.187 296.0);
Tailwind
colors: {
custom: {
50: '#a27dd7',
500: '#7547c5',
950: '#000000',
},
}SCSS
$custom: #7547c5; $custom-light: #a27dd7; $custom-dark: #000000;
JSON
{
"hex": "#7547c5",
"rgb": {
"r": 117,
"g": 71,
"b": 197
},
"hsl": {
"h": 261.905,
"s": 52.066,
"l": 52.549
},
"oklch": {
"l": 0.51785,
"c": 0.18702,
"h": 296
},
"luminance": 0.1232
}Semantic roles & 50–950 ramp
primary
#7547C5
secondary
#BBCF99
accent
#DC4CA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83