#B341FA

A color in the Purple, Crimson, Magenta family

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

Open in Picker Generate Scheme

Color Codes

HEX#b341fa
RGBrgb(179 65 250)
RGB (legacy)rgb(179, 65, 250)
RGB %rgb(70% 25% 98%)
HSLhsl(277 95% 62%)
HSV / HSBhsv(277, 74%, 98%)
HWBhwb(277 25% 2%)
CMYKcmyk(28%, 74%, 0%, 2%)
CIELAB (D50)lab(51.4 67.41 -72.59)
LCHlch(51.4 99.06 312.88)
OKLaboklab(0.6205 0.1626 -0.2039)
OKLCHoklch(0.6205 0.2608 308.58)
Decimal11747834

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.05: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.5 / -34.2 · As background with white / black text: Lc -73 / 36.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: #b341fa;
  --color-brand-oklch: oklch(62.05% 0.2608 308.58);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(179 65 250 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b341fa] text-[#b341fa] border-[#b341fa]">