#AA46BB

A color in the Purple, Crimson, Magenta family

#aa46bb is a color in the Purple, Crimson, Magenta family: RGB(170, 70, 187), HSL(291°, 46%, 50%), CMYK(9%, 63%, 0%, 27%). Closest named color: mediumorchid. Contrast is 4.88:1 on white and 4.3:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#aa46bb
RGBrgb(170 70 187)
RGB (legacy)rgb(170, 70, 187)
RGB %rgb(67% 27% 73%)
HSLhsl(291 46% 50%)
HSV / HSBhsv(291, 63%, 73%)
HWBhwb(291 27% 27%)
CMYKcmyk(9%, 63%, 0%, 27%)
CIELAB (D50)lab(47.43 53.71 -43.23)
LCHlch(47.43 68.94 321.17)
OKLaboklab(0.5732 0.1519 -0.1205)
OKLCHoklch(0.5732 0.1939 321.59)
Decimal11159227

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 5.4
Closest web-safe color#9933cc
Hue291°
Saturation (HSL / HSV)46% / 63%
Lightness (HSL)50%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)44% / 39%
Relative luminance (WCAG)0.1651
Red / Green / Blue170 / 70 / 187

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.88:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.30: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 73.1 / -28.6 · As background with white / black text: Lc -78.5 / 31

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: #aa46bb;
  --color-brand-oklch: oklch(57.32% 0.1939 321.59);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 70 187 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aa46bb] text-[#aa46bb] border-[#aa46bb]">