#B341B7

A color in the Purple, Crimson, Magenta family

#b341b7 is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 183), HSL(298°, 48%, 49%), CMYK(2%, 64%, 0%, 28%). Closest named color: mediumorchid. Contrast is 4.82:1 on white and 4.36:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b341b7
RGBrgb(179 65 183)
RGB (legacy)rgb(179, 65, 183)
RGB %rgb(70% 25% 72%)
HSLhsl(298 48% 49%)
HSV / HSBhsv(298, 64%, 72%)
HWBhwb(298 25% 28%)
CMYKcmyk(2%, 64%, 0%, 28%)
CIELAB (D50)lab(47.87 57.64 -40.1)
LCHlch(47.87 70.22 325.18)
OKLaboklab(0.5777 0.168 -0.1116)
OKLCHoklch(0.5777 0.2016 326.41)
Decimal11747767

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 5.4
Closest web-safe color#cc33cc
Hue298°
Saturation (HSL / HSV)48% / 64%
Lightness (HSL)49%
Brightness or Value (HSV)72%
Luminance (Rec.601 / Rec.709)44% / 38%
Relative luminance (WCAG)0.1678
Red / Green / Blue179 / 65 / 183

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.82:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.36: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.6 / -29.1 · As background with white / black text: Lc -78 / 31.5

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