#BB4E97

A color in the Purple, Crimson, Magenta family

#bb4e97 is a color in the Purple, Crimson, Magenta family: RGB(187, 78, 151), HSL(320°, 44%, 52%), CMYK(0%, 58%, 19%, 27%). Closest named color: mediumvioletred. Contrast is 4.52:1 on white and 4.65:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#bb4e97
RGBrgb(187 78 151)
RGB (legacy)rgb(187, 78, 151)
RGB %rgb(73% 31% 59%)
HSLhsl(320 44% 52%)
HSV / HSBhsv(320, 58%, 73%)
HWBhwb(320 31% 27%)
CMYKcmyk(0%, 58%, 19%, 27%)
CIELAB (D50)lab(49.97 50.76 -17.9)
LCHlch(49.97 53.82 340.57)
OKLaboklab(0.5886 0.1556 -0.0494)
OKLCHoklch(0.5886 0.1633 342.37)
Decimal12275351

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 7.2
Closest web-safe color#cc6699
Hue320°
Saturation (HSL / HSV)44% / 58%
Lightness (HSL)52%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)47% / 42%
Relative luminance (WCAG)0.1825
Red / Green / Blue187 / 78 / 151

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.52:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.65:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 70.7 / -30.9 · As background with white / black text: Lc -76.2 / 33.3

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: #bb4e97;
  --color-brand-oklch: oklch(58.86% 0.1633 342.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(187 78 151 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bb4e97] text-[#bb4e97] border-[#bb4e97]">