#B445A2

A color in the Purple, Crimson, Magenta family

#b445a2 is a color in the Purple, Crimson, Magenta family: RGB(180, 69, 162), HSL(310°, 45%, 49%), CMYK(0%, 62%, 10%, 29%). Closest named color: mediumvioletred. Contrast is 4.87:1 on white and 4.31:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b445a2
RGBrgb(180 69 162)
RGB (legacy)rgb(180, 69, 162)
RGB %rgb(71% 27% 64%)
HSLhsl(310 45% 49%)
HSV / HSBhsv(310, 62%, 71%)
HWBhwb(310 27% 29%)
CMYKcmyk(0%, 62%, 10%, 29%)
CIELAB (D50)lab(47.77 53.71 -27.9)
LCHlch(47.77 60.53 332.55)
OKLaboklab(0.5726 0.1623 -0.0772)
OKLCHoklch(0.5726 0.1797 334.55)
Decimal11814306

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 7
Closest web-safe color#cc3399
Hue310°
Saturation (HSL / HSV)45% / 62%
Lightness (HSL)49%
Brightness or Value (HSV)71%
Luminance (Rec.601 / Rec.709)44% / 39%
Relative luminance (WCAG)0.1657
Red / Green / Blue180 / 69 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.87:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.31: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 / -28.7 · As background with white / black text: Lc -78.4 / 31.1

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: #b445a2;
  --color-brand-oklch: oklch(57.26% 0.1797 334.55);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(180 69 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b445a2] text-[#b445a2] border-[#b445a2]">