#B341C8

A color in the Purple, Crimson, Magenta family

#b341c8 is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 200), HSL(291°, 55%, 52%), CMYK(11%, 68%, 0%, 22%). Closest named color: mediumorchid. Contrast is 4.66:1 on white and 4.51:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b341c8
RGBrgb(179 65 200)
RGB (legacy)rgb(179, 65, 200)
RGB %rgb(70% 25% 78%)
HSLhsl(291 55% 52%)
HSV / HSBhsv(291, 68%, 78%)
HWBhwb(291 25% 22%)
CMYKcmyk(11%, 68%, 0%, 22%)
CIELAB (D50)lab(48.66 59.92 -48.69)
LCHlch(48.66 77.21 320.9)
OKLaboklab(0.5875 0.1681 -0.1359)
OKLCHoklch(0.5875 0.2162 321.04)
Decimal11747784

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4.1
Closest web-safe color#cc33cc
Hue291°
Saturation (HSL / HSV)55% / 68%
Lightness (HSL)52%
Brightness or Value (HSV)78%
Luminance (Rec.601 / Rec.709)45% / 39%
Relative luminance (WCAG)0.1753
Red / Green / Blue179 / 65 / 200

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.66:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.51: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.5 / -30.2 · As background with white / black text: Lc -76.9 / 32.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: #b341c8;
  --color-brand-oklch: oklch(58.75% 0.2162 321.04);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(179 65 200 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b341c8] text-[#b341c8] border-[#b341c8]">