#B2139F

A color in the Purple, Crimson, Magenta family

#b2139f is a color in the Purple, Crimson, Magenta family: RGB(178, 19, 159), HSL(307°, 81%, 39%), CMYK(0%, 89%, 11%, 30%). Closest named color: mediumvioletred. Contrast is 6.02:1 on white and 3.49:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b2139f
RGBrgb(178 19 159)
RGB (legacy)rgb(178, 19, 159)
RGB %rgb(70% 7% 62%)
HSLhsl(307 81% 39%)
HSV / HSBhsv(307, 89%, 70%)
HWBhwb(307 7% 30%)
CMYKcmyk(0%, 89%, 11%, 30%)
CIELAB (D50)lab(41.96 67.39 -35.19)
LCHlch(41.96 76.02 332.43)
OKLaboklab(0.5296 0.2045 -0.098)
OKLCHoklch(0.5296 0.2268 334.39)
Decimal11670431

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6.4
Closest web-safe color#990099
Hue307°
Saturation (HSL / HSV)81% / 89%
Lightness (HSL)39%
Brightness or Value (HSV)70%
Luminance (Rec.601 / Rec.709)32% / 25%
Relative luminance (WCAG)0.1243
Red / Green / Blue178 / 19 / 159

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.02:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.49: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 78.2 / -23.6 · As background with white / black text: Lc -83.4 / 25.9

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: #b2139f;
  --color-brand-oklch: oklch(52.96% 0.2268 334.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 19 159 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b2139f] text-[#b2139f] border-[#b2139f]">