#9727A2

A color in the Purple, Crimson, Magenta family

#9727a2 is a color in the Purple, Crimson, Magenta family: RGB(151, 39, 162), HSL(295°, 61%, 39%), CMYK(7%, 76%, 0%, 36%). Closest named color: darkmagenta. Contrast is 6.71:1 on white and 3.13:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9727a2
RGBrgb(151 39 162)
RGB (legacy)rgb(151, 39, 162)
RGB %rgb(59% 15% 64%)
HSLhsl(295 61% 39%)
HSV / HSBhsv(295, 76%, 64%)
HWBhwb(295 15% 36%)
CMYKcmyk(7%, 76%, 0%, 36%)
CIELAB (D50)lab(38.78 57.1 -42.4)
LCHlch(38.78 71.12 323.4)
OKLaboklab(0.5004 0.1632 -0.1185)
OKLCHoklch(0.5004 0.2016 324.02)
Decimal9906082

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 5.6
Closest web-safe color#993399
Hue295°
Saturation (HSL / HSV)61% / 76%
Lightness (HSL)39%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)34% / 28%
Relative luminance (WCAG)0.1064
Red / Green / Blue151 / 39 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.71:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.13: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.9 / -20 · As background with white / black text: Lc -87 / 22.1

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: #9727a2;
  --color-brand-oklch: oklch(50.04% 0.2016 324.02);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(151 39 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9727a2] text-[#9727a2] border-[#9727a2]">