#B341CA

A color in the Purple, Crimson, Magenta family

#b341ca is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 202), HSL(290°, 56%, 52%), CMYK(11%, 68%, 0%, 21%). Closest named color: mediumorchid. Contrast is 4.64:1 on white and 4.53:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b341ca
RGBrgb(179 65 202)
RGB (legacy)rgb(179, 65, 202)
RGB %rgb(70% 25% 79%)
HSLhsl(290 56% 52%)
HSV / HSBhsv(290, 68%, 79%)
HWBhwb(290 25% 21%)
CMYKcmyk(11%, 68%, 0%, 21%)
CIELAB (D50)lab(48.76 60.2 -49.69)
LCHlch(48.76 78.06 320.47)
OKLaboklab(0.5887 0.168 -0.1388)
OKLCHoklch(0.5887 0.2179 320.45)
Decimal11747786

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4
Closest web-safe color#cc33cc
Hue290°
Saturation (HSL / HSV)56% / 68%
Lightness (HSL)52%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)45% / 39%
Relative luminance (WCAG)0.1763
Red / Green / Blue179 / 65 / 202

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.64:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.53: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 71.3 / -30.4 · As background with white / black text: Lc -76.8 / 32.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: #b341ca;
  --color-brand-oklch: oklch(58.87% 0.2179 320.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(179 65 202 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b341ca] text-[#b341ca] border-[#b341ca]">