#B341EF

A color in the Purple, Crimson, Magenta family

#b341ef is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 239), HSL(279°, 84%, 60%), CMYK(25%, 73%, 0%, 6%). Closest named color: mediumorchid. Contrast is 4.27:1 on white and 4.92:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b341ef
RGBrgb(179 65 239)
RGB (legacy)rgb(179, 65, 239)
RGB %rgb(70% 25% 94%)
HSLhsl(279 84% 60%)
HSV / HSBhsv(279, 73%, 94%)
HWBhwb(279 25% 6%)
CMYKcmyk(25%, 73%, 0%, 6%)
CIELAB (D50)lab(50.75 65.68 -67.5)
LCHlch(50.75 94.18 314.21)
OKLaboklab(0.6128 0.1645 -0.1894)
OKLCHoklch(0.6128 0.2509 310.97)
Decimal11747823

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6
Closest web-safe color#cc33ff
Hue279°
Saturation (HSL / HSV)84% / 73%
Lightness (HSL)60%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)47% / 40%
Relative luminance (WCAG)0.196
Red / Green / Blue179 / 65 / 239

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.27:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.92: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.5 / -33.2 · As background with white / black text: Lc -74 / 35.6

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