#BD2AAA

A color in the Purple, Crimson, Magenta family

#bd2aaa is a color in the Purple, Crimson, Magenta family: RGB(189, 42, 170), HSL(308°, 64%, 45%), CMYK(0%, 78%, 10%, 26%). Closest named color: mediumvioletred. Contrast is 5.15:1 on white and 4.08:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#bd2aaa
RGBrgb(189 42 170)
RGB (legacy)rgb(189, 42, 170)
RGB %rgb(74% 16% 67%)
HSLhsl(308 64% 45%)
HSV / HSBhsv(308, 78%, 74%)
HWBhwb(308 16% 26%)
CMYKcmyk(0%, 78%, 10%, 26%)
CIELAB (D50)lab(46.2 66.23 -34.93)
LCHlch(46.2 74.88 332.2)
OKLaboklab(0.5654 0.2005 -0.0971)
OKLCHoklch(0.5654 0.2228 334.15)
Decimal12397226

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6.1
Closest web-safe color#cc3399
Hue308°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)45%
Brightness or Value (HSV)74%
Luminance (Rec.601 / Rec.709)39% / 32%
Relative luminance (WCAG)0.1538
Red / Green / Blue189 / 42 / 170

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.15:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.08: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 74.1 / -27.6 · As background with white / black text: Lc -79.5 / 30

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: #bd2aaa;
  --color-brand-oklch: oklch(56.54% 0.2228 334.15);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(189 42 170 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bd2aaa] text-[#bd2aaa] border-[#bd2aaa]">