#B341FF

A color in the Purple, Crimson, Magenta family

#b341ff is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 255), HSL(276°, 100%, 63%), CMYK(30%, 75%, 0%, 0%). Closest named color: mediumorchid. Contrast is 4.1:1 on white and 5.12:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b341ff
RGBrgb(179 65 255)
RGB (legacy)rgb(179, 65, 255)
RGB %rgb(70% 25% 100%)
HSLhsl(276 100% 63%)
HSV / HSBhsv(276, 75%, 100%)
HWBhwb(276 25% 0%)
CMYKcmyk(30%, 75%, 0%, 0%)
CIELAB (D50)lab(51.7 68.21 -74.88)
LCHlch(51.7 101.29 312.33)
OKLaboklab(0.6241 0.1617 -0.2104)
OKLCHoklch(0.6241 0.2653 307.54)
Decimal11747839

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 7.9
Closest web-safe color#cc33ff
Hue276°
Saturation (HSL / HSV)100% / 75%
Lightness (HSL)63%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)47% / 40%
Relative luminance (WCAG)0.2058
Red / Green / Blue179 / 65 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.10:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.12: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.1 / -34.6 · As background with white / black text: Lc -72.6 / 37

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