#9F00A9

A color in the Purple, Crimson, Magenta family

#9f00a9 is a color in the Purple, Crimson, Magenta family: RGB(159, 0, 169), HSL(296°, 100%, 33%), CMYK(6%, 100%, 0%, 34%). Closest named color: darkmagenta. Contrast is 6.89:1 on white and 3.05:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9f00a9
RGBrgb(159 0 169)
RGB (legacy)rgb(159, 0, 169)
RGB %rgb(62% 0% 66%)
HSLhsl(296 100% 33%)
HSV / HSBhsv(296, 100%, 66%)
HWBhwb(296 0% 34%)
CMYKcmyk(6%, 100%, 0%, 34%)
CIELAB (D50)lab(38.06 66.84 -47.64)
LCHlch(38.06 82.08 324.52)
OKLaboklab(0.4995 0.1915 -0.1334)
OKLCHoklch(0.4995 0.2334 325.14)
Decimal10420393

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 6.1
Closest web-safe color#990099
Hue296°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)33%
Brightness or Value (HSV)66%
Luminance (Rec.601 / Rec.709)26% / 18%
Relative luminance (WCAG)0.1024
Red / Green / Blue159 / 0 / 169

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.89:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.05:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 81.4 / -20.4 · As background with white / black text: Lc -86.6 / 22.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #9f00a9;
  --color-brand-oklch: oklch(49.95% 0.2334 325.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(159 0 169 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9f00a9] text-[#9f00a9] border-[#9f00a9]">