#A165AC

A color in the Purple, Crimson, Magenta family

#a165ac is a color in the Purple, Crimson, Magenta family: RGB(161, 101, 172), HSL(291°, 30%, 54%), CMYK(6%, 41%, 0%, 33%). Closest named color: mediumpurple. Contrast is 4.22:1 on white and 4.97:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a165ac
RGBrgb(161 101 172)
RGB (legacy)rgb(161, 101, 172)
RGB %rgb(63% 40% 67%)
HSLhsl(291 30% 54%)
HSV / HSBhsv(291, 41%, 67%)
HWBhwb(291 40% 33%)
CMYKcmyk(6%, 41%, 0%, 33%)
CIELAB (D50)lab(51.56 33.67 -28.16)
LCHlch(51.56 43.9 320.09)
OKLaboklab(0.5981 0.0966 -0.0776)
OKLCHoklch(0.5981 0.1239 321.22)
Decimal10577324

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 7.4
Closest web-safe color#996699
Hue291°
Saturation (HSL / HSV)30% / 41%
Lightness (HSL)54%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)50% / 47%
Relative luminance (WCAG)0.1986
Red / Green / Blue161 / 101 / 172

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.22:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.97: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 68.9 / -32.7 · As background with white / black text: Lc -74.4 / 35.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: #a165ac;
  --color-brand-oklch: oklch(59.81% 0.1239 321.22);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(161 101 172 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a165ac] text-[#a165ac] border-[#a165ac]">