#AB46BB

A color in the Purple, Crimson, Magenta family

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

Open in Picker Generate Scheme

Color Codes

HEX#ab46bb
RGBrgb(171 70 187)
RGB (legacy)rgb(171, 70, 187)
RGB %rgb(67% 27% 73%)
HSLhsl(292 46% 50%)
HSV / HSBhsv(292, 63%, 73%)
HWBhwb(292 27% 27%)
CMYKcmyk(9%, 63%, 0%, 27%)
CIELAB (D50)lab(47.58 53.98 -42.98)
LCHlch(47.58 69 321.47)
OKLaboklab(0.5745 0.1531 -0.1197)
OKLCHoklch(0.5745 0.1943 321.97)
Decimal11224763

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.86:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.33: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 72.9 / -28.7 · As background with white / black text: Lc -78.4 / 31.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: #ab46bb;
  --color-brand-oklch: oklch(57.45% 0.1943 321.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(171 70 187 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ab46bb] text-[#ab46bb] border-[#ab46bb]">