#7C2CA8
A medium, moderate purple closely aligning with Rebeccapurple.
About #7C2CA8
The hex code #7C2CA8 represents a beautifully specific shade of purple. It is closely associated with the named CSS color Rebeccapurple. This translates to an RGB value of rgb(124, 44, 168).
When sending designs containing this color to a printer, the CMYK values come into play. To reproduce this shade on paper, a printer utilizes 26% cyan and 74% magenta inks. This makes it a relatively light color when applied to physical surfaces.
Ensuring your text is legible against this background is a key part of web design. Because it is a medium color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#7C2CA8
RGB124, 44, 168
HSL278.7°, 58.5%, 41.6%
CMYK26%, 74%, 0%, 34%
HSV278.7°, 73.8%, 65.9%
LAB35.8, 54.3, -51.4
XYZ16.3, 8.9, 37.9
Decimal8137896
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.55:1
Text on #FFFFFF
AAA
2.78:1
Text on #000000
FAIL
7.21:1
Text on #F8FAFC
AAA
2.37:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #7C2CA8;
}
.text-color {
color: #7C2CA8;
}
.border-color {
border: 2px solid #7C2CA8;
}