#B341B5

A color in the Purple, Crimson, Magenta family

#b341b5 is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 181), HSL(299°, 47%, 48%), CMYK(1%, 64%, 0%, 29%). Closest named color: mediumorchid. Contrast is 4.84:1 on white and 4.34:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b341b5
RGBrgb(179 65 181)
RGB (legacy)rgb(179, 65, 181)
RGB %rgb(70% 25% 71%)
HSLhsl(299 47% 48%)
HSV / HSBhsv(299, 64%, 71%)
HWBhwb(299 25% 29%)
CMYKcmyk(1%, 64%, 0%, 29%)
CIELAB (D50)lab(47.78 57.39 -39.07)
LCHlch(47.78 69.42 325.75)
OKLaboklab(0.5766 0.1679 -0.1087)
OKLCHoklch(0.5766 0.2 327.09)
Decimal11747765

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 5.6
Closest web-safe color#cc33cc
Hue299°
Saturation (HSL / HSV)47% / 64%
Lightness (HSL)48%
Brightness or Value (HSV)71%
Luminance (Rec.601 / Rec.709)44% / 38%
Relative luminance (WCAG)0.167
Red / Green / Blue179 / 65 / 181

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.84:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.34: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 72.7 / -29 · As background with white / black text: Lc -78.1 / 31.4

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