#B341E7

A color in the Purple, Crimson, Magenta family

#b341e7 is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 231), HSL(281°, 78%, 58%), CMYK(23%, 72%, 0%, 9%). Closest named color: mediumorchid. Contrast is 4.35:1 on white and 4.83:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b341e7
RGBrgb(179 65 231)
RGB (legacy)rgb(179, 65, 231)
RGB %rgb(70% 25% 91%)
HSLhsl(281 78% 58%)
HSV / HSBhsv(281, 72%, 91%)
HWBhwb(281 25% 9%)
CMYKcmyk(23%, 72%, 0%, 9%)
CIELAB (D50)lab(50.29 64.44 -63.74)
LCHlch(50.29 90.64 315.31)
OKLaboklab(0.6073 0.1656 -0.1788)
OKLCHoklch(0.6073 0.2437 312.82)
Decimal11747815

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 5.2
Closest web-safe color#cc33ff
Hue281°
Saturation (HSL / HSV)78% / 72%
Lightness (HSL)58%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)46% / 40%
Relative luminance (WCAG)0.1913
Red / Green / Blue179 / 65 / 231

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.35:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.83: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 69.1 / -32.5 · As background with white / black text: Lc -74.6 / 35

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