#AA33DB

A color in the Purple, Crimson, Magenta family

#aa33db is a color in the Purple, Crimson, Magenta family: RGB(170, 51, 219), HSL(283°, 70%, 53%), CMYK(22%, 77%, 0%, 14%). Closest named color: darkorchid. Contrast is 4.99:1 on white and 4.21:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#aa33db
RGBrgb(170 51 219)
RGB (legacy)rgb(170, 51, 219)
RGB %rgb(67% 20% 86%)
HSLhsl(283 70% 53%)
HSV / HSBhsv(283, 77%, 86%)
HWBhwb(283 20% 14%)
CMYKcmyk(22%, 77%, 0%, 14%)
CIELAB (D50)lab(46.46 65.53 -63.19)
LCHlch(46.46 91.04 316.04)
OKLaboklab(0.575 0.1686 -0.1773)
OKLCHoklch(0.575 0.2447 313.56)
Decimal11154395

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 3.9
Closest web-safe color#9933cc
Hue283°
Saturation (HSL / HSV)70% / 77%
Lightness (HSL)53%
Brightness or Value (HSV)86%
Luminance (Rec.601 / Rec.709)41% / 35%
Relative luminance (WCAG)0.1603
Red / Green / Blue170 / 51 / 219

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.99:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.21: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.3 / -28.4 · As background with white / black text: Lc -78.7 / 30.8

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: #aa33db;
  --color-brand-oklch: oklch(57.5% 0.2447 313.56);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 51 219 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aa33db] text-[#aa33db] border-[#aa33db]">