#B341CB

A color in the Purple, Crimson, Magenta family

#b341cb is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 203), HSL(290°, 57%, 53%), CMYK(12%, 68%, 0%, 20%). Closest named color: mediumorchid. Contrast is 4.63:1 on white and 4.54:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b341cb
RGBrgb(179 65 203)
RGB (legacy)rgb(179, 65, 203)
RGB %rgb(70% 25% 80%)
HSLhsl(290 57% 53%)
HSV / HSBhsv(290, 68%, 80%)
HWBhwb(290 25% 20%)
CMYKcmyk(12%, 68%, 0%, 20%)
CIELAB (D50)lab(48.81 60.34 -50.18)
LCHlch(48.81 78.48 320.25)
OKLaboklab(0.5893 0.168 -0.1402)
OKLCHoklch(0.5893 0.2188 320.16)
Decimal11747787

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.63:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.54: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.2 / -30.4 · As background with white / black text: Lc -76.7 / 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: #b341cb;
  --color-brand-oklch: oklch(58.93% 0.2188 320.16);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(179 65 203 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b341cb] text-[#b341cb] border-[#b341cb]">