#7542B6
A medium, moderate purple closely aligning with Rebeccapurple.
About #7542B6
Visually, #7542B6 is defined as a moderate purple. It is closely associated with the named CSS color Rebeccapurple. In the RGB color space, it consists of 117 red, 66 green, and 182 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 36% Cyan, 64% Magenta, 0% Yellow, and 29% Black. With a hue angle of 266.4 degrees, it sits comfortably in the purple spectrum.
When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#7542B6
RGB117, 66, 182
HSL266.4°, 46.8%, 48.6%
CMYK36%, 64%, 0%, 29%
HSV266.4°, 63.7%, 71.4%
LAB39.7, 45.7, -53.5
XYZ17.7, 11.1, 45.5
Decimal7684790
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.54:1
Text on #FFFFFF
AA
3.21:1
Text on #000000
AA Large
6.25:1
Text on #F8FAFC
AA
2.73:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #7542B6;
}
.text-color {
color: #7542B6;
}
.border-color {
border: 2px solid #7542B6;
}