#B341AB

A color in the Purple, Crimson, Magenta family

#b341ab is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 171), HSL(304°, 47%, 48%), CMYK(0%, 64%, 4%, 30%). Closest named color: mediumorchid. Contrast is 4.93:1 on white and 4.26:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b341ab
RGBrgb(179 65 171)
RGB (legacy)rgb(179, 65, 171)
RGB %rgb(70% 25% 67%)
HSLhsl(304 47% 48%)
HSV / HSBhsv(304, 64%, 70%)
HWBhwb(304 25% 30%)
CMYKcmyk(0%, 64%, 4%, 30%)
CIELAB (D50)lab(47.35 56.13 -33.87)
LCHlch(47.35 65.56 328.89)
OKLaboklab(0.5712 0.1672 -0.094)
OKLCHoklch(0.5712 0.1918 330.65)
Decimal11747755

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6.8
Closest web-safe color#cc3399
Hue304°
Saturation (HSL / HSV)47% / 64%
Lightness (HSL)48%
Brightness or Value (HSV)70%
Luminance (Rec.601 / Rec.709)44% / 38%
Relative luminance (WCAG)0.163
Red / Green / Blue179 / 65 / 171

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.93:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.26: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.3 / -28.4 · As background with white / black text: Lc -78.7 / 30.8

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: #b341ab;
  --color-brand-oklch: oklch(57.12% 0.1918 330.65);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(179 65 171 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b341ab] text-[#b341ab] border-[#b341ab]">