#BB00A2

A color in the Purple, Crimson, Magenta family

#bb00a2 is a color in the Purple, Crimson, Magenta family: RGB(187, 0, 162), HSL(308°, 100%, 37%), CMYK(0%, 100%, 13%, 27%). Closest named color: mediumvioletred. Contrast is 5.78:1 on white and 3.63:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#bb00a2
RGBrgb(187 0 162)
RGB (legacy)rgb(187, 0, 162)
RGB %rgb(73% 0% 64%)
HSLhsl(308 100% 37%)
HSV / HSBhsv(308, 100%, 73%)
HWBhwb(308 0% 27%)
CMYKcmyk(0%, 100%, 13%, 27%)
CIELAB (D50)lab(43.13 71.57 -35)
LCHlch(43.13 79.67 333.94)
OKLaboklab(0.5411 0.2188 -0.0975)
OKLCHoklch(0.5411 0.2395 335.97)
Decimal12255394

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 5.9
Closest web-safe color#cc0099
Hue308°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)37%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)29% / 20%
Relative luminance (WCAG)0.1317
Red / Green / Blue187 / 0 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.78:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.63: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 76.4 / -25.3 · As background with white / black text: Lc -81.7 / 27.7

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: #bb00a2;
  --color-brand-oklch: oklch(54.11% 0.2395 335.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(187 0 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bb00a2] text-[#bb00a2] border-[#bb00a2]">