#B341D2

A color in the Purple, Crimson, Magenta family

#b341d2 is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 210), HSL(287°, 62%, 54%), CMYK(15%, 69%, 0%, 18%). Closest named color: mediumorchid. Contrast is 4.56:1 on white and 4.6:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b341d2
RGBrgb(179 65 210)
RGB (legacy)rgb(179, 65, 210)
RGB %rgb(70% 25% 82%)
HSLhsl(287 62% 54%)
HSV / HSBhsv(287, 69%, 82%)
HWBhwb(287 25% 18%)
CMYKcmyk(15%, 69%, 0%, 18%)
CIELAB (D50)lab(49.16 61.33 -53.63)
LCHlch(49.16 81.48 318.83)
OKLaboklab(0.5936 0.1677 -0.15)
OKLCHoklch(0.5936 0.225 318.18)
Decimal11747794

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 3.9
Closest web-safe color#cc33cc
Hue287°
Saturation (HSL / HSV)62% / 69%
Lightness (HSL)54%
Brightness or Value (HSV)82%
Luminance (Rec.601 / Rec.709)45% / 39%
Relative luminance (WCAG)0.1802
Red / Green / Blue179 / 65 / 210

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.56:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.60:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 70.7 / -30.9 · As background with white / black text: Lc -76.2 / 33.3

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