#9727BA

A color in the Purple, Crimson, Magenta family

#9727ba is a color in the Purple, Crimson, Magenta family: RGB(151, 39, 186), HSL(286°, 65%, 44%), CMYK(19%, 79%, 0%, 27%). Closest named color: darkorchid. Contrast is 6.33:1 on white and 3.32:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9727ba
RGBrgb(151 39 186)
RGB (legacy)rgb(151, 39, 186)
RGB %rgb(59% 15% 73%)
HSLhsl(286 65% 44%)
HSV / HSBhsv(286, 79%, 73%)
HWBhwb(286 15% 27%)
CMYKcmyk(19%, 79%, 0%, 27%)
CIELAB (D50)lab(40.11 60.41 -54.52)
LCHlch(40.11 81.37 317.93)
OKLaboklab(0.5165 0.1604 -0.1529)
OKLCHoklch(0.5165 0.2216 316.37)
Decimal9906106

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 3.2
Closest web-safe color#9933cc
Hue286°
Saturation (HSL / HSV)65% / 79%
Lightness (HSL)44%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)35% / 29%
Relative luminance (WCAG)0.1158
Red / Green / Blue151 / 39 / 186

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.33:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.32: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 80.2 / -21.6 · As background with white / black text: Lc -85.4 / 23.8

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