#9727CB

A color in the Purple, Crimson, Magenta family

#9727cb is a color in the Purple, Crimson, Magenta family: RGB(151, 39, 203), HSL(281°, 68%, 47%), CMYK(26%, 81%, 0%, 20%). Closest named color: darkorchid. Contrast is 6.05:1 on white and 3.47:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9727cb
RGBrgb(151 39 203)
RGB (legacy)rgb(151, 39, 203)
RGB %rgb(59% 15% 80%)
HSLhsl(281 68% 47%)
HSV / HSBhsv(281, 81%, 80%)
HWBhwb(281 15% 20%)
CMYKcmyk(26%, 81%, 0%, 20%)
CIELAB (D50)lab(41.15 62.93 -62.75)
LCHlch(41.15 88.87 315.08)
OKLaboklab(0.5289 0.157 -0.1762)
OKLCHoklch(0.5289 0.236 311.69)
Decimal9906123

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 1.5
Closest web-safe color#9933cc
Hue281°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)47%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)36% / 29%
Relative luminance (WCAG)0.1234
Red / Green / Blue151 / 39 / 203

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.05:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.47: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 78.9 / -22.9 · As background with white / black text: Lc -84.1 / 25.2

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