#8A2BC7

Color Details

HEX
#8A2BC7
RGB
rgb(138, 43, 199)
HSL
hsl(277, 64%, 47%)
CMYK
cmyk(31%, 78%, 0%, 22%)
Best text on this color #FFFFFF (CR 6.46:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #8A2BC7 swatch

Embed this swatch

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

Open image

About #8A2BC7

#8A2BC7 converts to RGB(138, 43, 199) and HSL(277, 64%, 47%). 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).

#8A2BC7 FAQs

What is the RGB value of #8A2BC7?
RGB: 138, 43, 199. Copy as CSS: rgb(138, 43, 199)
Is #8A2BC7 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #8A2BC7?
Complement: #66c52b.
Does #8A2BC7 have good contrast on white or black?
On white: 6.46:1 (AA (normal text)). On black: 3.25:1 (AA (large text)).