#7546C7#7546C7
#7546C7 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.191 H 295.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7546C7 |
|---|---|
| RGB | rgb(117, 70, 199) |
| HSL | hsl(262, 54%, 53%) |
| HSV | hsv(262, 65%, 78%) |
| CMYK | cmyk(41.2%, 64.8%, 0%, 22%) |
| CIE-LAB | lab(41.67, 48.00, -60.19) |
| CIE-LCH | lch(41.67, 76.99, 308.57°) |
| OKLab | oklab(51.79% 0.0829 -0.1718) |
| OKLCH | oklch(51.79% 0.191 295.8) |
| XYZ | xyz(19.8324, 12.2853, 55.3482) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.52
Bluish Purple
#703BE7
ΔE00 4.64
Burple
#6832E3
ΔE00 5.54
Blueviolet
#8A2BE2
ΔE00 5.76
Light Indigo
#6D5ACF
ΔE00 5.95
Blurple
#5539CC
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7546C7 #98C746
analogous
#4658C7 #7546C7 #B546C7
triadic
#7546C7 #C77546 #46C775
tetradic
#7546C7 #C74658 #98C746 #46C7B5
square
#7546C7 #C74658 #98C746 #46C7B5
split-complementary
#7546C7 #C7B546 #58C746
monochromatic
#3F2271 #5930A0 #7546C7 #9875D5 #BBA4E3
Accessibility & contrast
On white
6.07
#7546C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#7546C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7546C7
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7546C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7546C7 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#606480
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7546c7; /* rgb */ color: rgb(117, 70, 199); /* oklch */ color: oklch(51.8% 0.191 295.8);
Tailwind
colors: {
custom: {
50: '#a37cd9',
500: '#7546c7',
950: '#000000',
},
}SCSS
$custom: #7546c7; $custom-light: #a37cd9; $custom-dark: #000000;
JSON
{
"hex": "#7546c7",
"rgb": {
"r": 117,
"g": 70,
"b": 199
},
"hsl": {
"h": 261.86,
"s": 53.527,
"l": 52.745
},
"oklch": {
"l": 0.51792,
"c": 0.19071,
"h": 295.8
},
"luminance": 0.12286
}Semantic roles & 50–950 ramp
primary
#7546C7
secondary
#BCD098
accent
#DD4BA8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83