#9727EC

A color in the Purple, Crimson, Magenta family

#9727ec is a color in the Purple, Crimson, Magenta family: RGB(151, 39, 236), HSL(274°, 84%, 54%), CMYK(36%, 83%, 0%, 7%). Closest named color: blueviolet. Contrast is 5.5:1 on white and 3.82:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9727ec
RGBrgb(151 39 236)
RGB (legacy)rgb(151, 39, 236)
RGB %rgb(59% 15% 93%)
HSLhsl(274 84% 54%)
HSV / HSBhsv(274, 83%, 93%)
HWBhwb(274 15% 7%)
CMYKcmyk(36%, 83%, 0%, 7%)
CIELAB (D50)lab(43.4 68.14 -77.97)
LCHlch(43.4 103.55 311.15)
OKLaboklab(0.555 0.1479 -0.2193)
OKLCHoklch(0.555 0.2645 304)
Decimal9906156

Properties

Color TonePurple, Crimson, Magenta
Closest named colorblueviolet ΔE 2.8
Closest web-safe color#9933ff
Hue274°
Saturation (HSL / HSV)84% / 83%
Lightness (HSL)54%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)37% / 30%
Relative luminance (WCAG)0.1409
Red / Green / Blue151 / 39 / 236

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.50:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.82: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 75.9 / -25.8 · As background with white / black text: Lc -81.3 / 28.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: #9727ec;
  --color-brand-oklch: oklch(55.5% 0.2645 304);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(151 39 236 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9727ec] text-[#9727ec] border-[#9727ec]">