#7F51A2
Color Details
HEX
#7F51A2
RGB
rgb(127, 81, 162)
HSL
hsl(274, 33%, 48%)
CMYK
cmyk(22%, 50%, 0%, 36%)
Best text on this color
#FFFFFF (CR 5.83:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #7F51A2
#7F51A2 converts to RGB(127, 81, 162) and HSL(274, 33%, 48%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#7F51A2 FAQs
What is the RGB value of #7F51A2?
RGB: 127, 81, 162. Copy as CSS:
rgb(127, 81, 162)
Is #7F51A2 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #7F51A2?
Complement: #75a352.
Does #7F51A2 have good contrast on white or black?
On white: 5.83:1 (AA (normal text)).
On black: 3.60:1 (AA (large text)).