#B341EC

A color in the Purple, Crimson, Magenta family

#b341ec is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 236), HSL(280°, 82%, 59%), CMYK(24%, 72%, 0%, 7%). Closest named color: mediumorchid. Contrast is 4.3:1 on white and 4.88:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b341ec
RGBrgb(179 65 236)
RGB (legacy)rgb(179, 65, 236)
RGB %rgb(70% 25% 93%)
HSLhsl(280 82% 59%)
HSV / HSBhsv(280, 72%, 93%)
HWBhwb(280 25% 7%)
CMYKcmyk(24%, 72%, 0%, 7%)
CIELAB (D50)lab(50.57 65.21 -66.1)
LCHlch(50.57 92.85 314.61)
OKLaboklab(0.6107 0.1649 -0.1855)
OKLCHoklch(0.6107 0.2482 311.65)
Decimal11747820

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 5.6
Closest web-safe color#cc33ff
Hue280°
Saturation (HSL / HSV)82% / 72%
Lightness (HSL)59%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)47% / 40%
Relative luminance (WCAG)0.1942
Red / Green / Blue179 / 65 / 236

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.30:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.88: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 68.7 / -33 · As background with white / black text: Lc -74.2 / 35.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: #b341ec;
  --color-brand-oklch: oklch(61.07% 0.2482 311.65);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(179 65 236 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b341ec] text-[#b341ec] border-[#b341ec]">