#9840A8

#9840A8

Color Values

HEX

#9840A8

RGB

152, 64, 168

HSL

290.8, 44.8%, 45.5%

HSV

290.8, 61.9%, 65.9%

CMYK

9.5%, 61.9%, 0.0%, 34.1%

OKLCH

0.531 0.176 321.2

Properties

Color Psychology

Magenta is a stimulating, attention-commanding color that bridges passion and imagination. It represents transformation, artistic vision, and unconventional thinking. Magenta disrupts expectations and is associated with innovation and bold self-expression.

Design Usage

Medium magentas are powerful for brands that want to project creativity and boldness. They create eye-catching gradients when blended with purple or orange tones. Use sparingly as accent colors for maximum impact in otherwise restrained designs.

Color Harmonies

Color Blindness Simulation

CSS Usage

background-color: #9840A8;
color: #9840A8;
border-color: #9840A8;
Nearest Tailwind: Fuchsia 800 #86198F

Tailwind Shades

Contrast Checker

Text on white

5.78:1

AA Pass AAA Fail

Text on black

3.63:1

AA Fail AAA Fail

Compare With

Related Articles

Frequently Asked Questions

What are the RGB, HSL, and CMYK values of #9840A8?

RGB(152, 64, 168) · HSL(290.8, 44.8%, 45.5%) · CMYK(9.5%, 61.9%, 0.0%, 34.1%)

Does #9840A8 meet WCAG contrast on white?

5.78:1 — WCAG AA Pass, AAA Fail for normal text.

What text color is readable on #9840A8?

Use FFFFFF text on a #9840A8 background; contrast on black is 3.63:1.