#840BCC

Color Details

HEX
#840BCC
RGB
rgb(132, 11, 204)
HSL
hsl(278, 90%, 42%)
CMYK
cmyk(35%, 95%, 0%, 20%)
Best text on this color #FFFFFF (CR 7.24:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #840BCC swatch

Embed this swatch

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

Open image

About #840BCC

#840BCC converts to RGB(132, 11, 204) and HSL(278, 90%, 42%). 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).

#840BCC FAQs

What is the RGB value of #840BCC?
RGB: 132, 11, 204. Copy as CSS: rgb(132, 11, 204)
Is #840BCC a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #840BCC?
Complement: #51cb0b.
Does #840BCC have good contrast on white or black?
On white: 7.24:1 (AAA (normal text)). On black: 2.90:1 (Fails AA).