#B341F1

A color in the Purple, Crimson, Magenta family

#b341f1 is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 241), HSL(279°, 86%, 60%), CMYK(26%, 73%, 0%, 5%). Closest named color: mediumorchid. Contrast is 4.25:1 on white and 4.94:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b341f1
RGBrgb(179 65 241)
RGB (legacy)rgb(179, 65, 241)
RGB %rgb(70% 25% 95%)
HSLhsl(279 86% 60%)
HSV / HSBhsv(279, 73%, 95%)
HWBhwb(279 25% 5%)
CMYKcmyk(26%, 73%, 0%, 5%)
CIELAB (D50)lab(50.86 65.99 -68.44)
LCHlch(50.86 95.07 313.96)
OKLaboklab(0.6142 0.1642 -0.1921)
OKLCHoklch(0.6142 0.2527 310.52)
Decimal11747825

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.25:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.94: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.3 / -33.4 · As background with white / black text: Lc -73.8 / 35.8

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