#9165AC

A color in the Purple, Crimson, Magenta family

#9165ac is a color in the Purple, Crimson, Magenta family: RGB(145, 101, 172), HSL(277°, 30%, 54%), CMYK(16%, 41%, 0%, 33%). Closest named color: mediumpurple. Contrast is 4.51:1 on white and 4.66:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9165ac
RGBrgb(145 101 172)
RGB (legacy)rgb(145, 101, 172)
RGB %rgb(57% 40% 67%)
HSLhsl(277 30% 54%)
HSV / HSBhsv(277, 41%, 67%)
HWBhwb(277 40% 33%)
CMYKcmyk(16%, 41%, 0%, 33%)
CIELAB (D50)lab(49.65 28.27 -31.3)
LCHlch(49.65 42.18 312.08)
OKLaboklab(0.5804 0.077 -0.0864)
OKLCHoklch(0.5804 0.1157 311.69)
Decimal9528748

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 7.2
Closest web-safe color#996699
Hue277°
Saturation (HSL / HSV)30% / 41%
Lightness (HSL)54%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)48% / 45%
Relative luminance (WCAG)0.1831
Red / Green / Blue145 / 101 / 172

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 71.1 / -30.5 · As background with white / black text: Lc -76.6 / 32.9

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: #9165ac;
  --color-brand-oklch: oklch(58.04% 0.1157 311.69);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(145 101 172 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9165ac] text-[#9165ac] border-[#9165ac]">