#AB05AB

A color in the Purple, Crimson, Magenta family

#ab05ab is a color in the Purple, Crimson, Magenta family: RGB(171, 5, 171), HSL(300°, 94%, 35%), CMYK(0%, 97%, 0%, 33%). Closest named color: darkorchid. Contrast is 6.28:1 on white and 3.34:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ab05ab
RGBrgb(171 5 171)
RGB (legacy)rgb(171, 5, 171)
RGB %rgb(67% 2% 67%)
HSLhsl(300 94% 35%)
HSV / HSBhsv(300, 97%, 67%)
HWBhwb(300 2% 33%)
CMYKcmyk(0%, 97%, 0%, 33%)
CIELAB (D50)lab(40.64 68.83 -44.56)
LCHlch(40.64 82 327.08)
OKLaboklab(0.5213 0.202 -0.1246)
OKLCHoklch(0.5213 0.2374 328.34)
Decimal11208107

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 7.2
Closest web-safe color#990099
Hue300°
Saturation (HSL / HSV)94% / 97%
Lightness (HSL)35%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)29% / 21%
Relative luminance (WCAG)0.1171
Red / Green / Blue171 / 5 / 171

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.28:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.34: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 79 / -22.8 · As background with white / black text: Lc -84.3 / 25

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: #ab05ab;
  --color-brand-oklch: oklch(52.13% 0.2374 328.34);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(171 5 171 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ab05ab] text-[#ab05ab] border-[#ab05ab]">