#B341F9

A color in the Purple, Crimson, Magenta family

#b341f9 is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 249), HSL(277°, 94%, 62%), CMYK(28%, 74%, 0%, 2%). Closest named color: mediumorchid. Contrast is 4.17:1 on white and 5.04:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b341f9
RGBrgb(179 65 249)
RGB (legacy)rgb(179, 65, 249)
RGB %rgb(70% 25% 98%)
HSLhsl(277 94% 62%)
HSV / HSBhsv(277, 74%, 98%)
HWBhwb(277 25% 2%)
CMYKcmyk(28%, 74%, 0%, 2%)
CIELAB (D50)lab(51.34 67.25 -72.13)
LCHlch(51.34 98.62 312.99)
OKLaboklab(0.6198 0.1628 -0.2026)
OKLCHoklch(0.6198 0.2599 308.79)
Decimal11747833

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 7.1
Closest web-safe color#cc33ff
Hue277°
Saturation (HSL / HSV)94% / 74%
Lightness (HSL)62%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)47% / 40%
Relative luminance (WCAG)0.202
Red / Green / Blue179 / 65 / 249

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.17:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.04: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 67.6 / -34.1 · As background with white / black text: Lc -73.1 / 36.5

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