#9E2F9C

Color Details

HEX
#9E2F9C
RGB
rgb(158, 47, 156)
HSL
hsl(301, 54%, 40%)
CMYK
cmyk(0%, 70%, 1%, 38%)
Best text on this color #FFFFFF (CR 6.29:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #9E2F9C swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #9E2F9C

#9E2F9C converts to RGB(158, 47, 156) and HSL(301, 54%, 40%). 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).

#9E2F9C FAQs

What is the RGB value of #9E2F9C?
RGB: 158, 47, 156. Copy as CSS: rgb(158, 47, 156)
Is #9E2F9C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #9E2F9C?
Complement: #2f9d31.
Does #9E2F9C have good contrast on white or black?
On white: 6.29:1 (AA (normal text)). On black: 3.34:1 (AA (large text)).