#BC2EA2

A color in the Purple, Crimson, Magenta family

#bc2ea2 is a color in the Purple, Crimson, Magenta family: RGB(188, 46, 162), HSL(311°, 61%, 46%), CMYK(0%, 76%, 14%, 26%). Closest named color: mediumvioletred. Contrast is 5.18:1 on white and 4.05:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#bc2ea2
RGBrgb(188 46 162)
RGB (legacy)rgb(188, 46, 162)
RGB %rgb(74% 18% 64%)
HSLhsl(311 61% 46%)
HSV / HSBhsv(311, 76%, 74%)
HWBhwb(311 18% 26%)
CMYKcmyk(0%, 76%, 14%, 26%)
CIELAB (D50)lab(46.09 64.05 -30.36)
LCHlch(46.09 70.88 334.63)
OKLaboklab(0.5626 0.1956 -0.0843)
OKLCHoklch(0.5626 0.213 336.68)
Decimal12332706

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 5.1
Closest web-safe color#cc3399
Hue311°
Saturation (HSL / HSV)61% / 76%
Lightness (HSL)46%
Brightness or Value (HSV)74%
Luminance (Rec.601 / Rec.709)40% / 33%
Relative luminance (WCAG)0.1525
Red / Green / Blue188 / 46 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.18:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.05: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.4 / -27.3 · As background with white / black text: Lc -79.8 / 29.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: #bc2ea2;
  --color-brand-oklch: oklch(56.26% 0.213 336.68);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(188 46 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bc2ea2] text-[#bc2ea2] border-[#bc2ea2]">