#B341DC

A color in the Purple, Crimson, Magenta family

#b341dc is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 220), HSL(284°, 69%, 56%), CMYK(19%, 70%, 0%, 14%). Closest named color: mediumorchid. Contrast is 4.46:1 on white and 4.71:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b341dc
RGBrgb(179 65 220)
RGB (legacy)rgb(179, 65, 220)
RGB %rgb(70% 25% 86%)
HSLhsl(284 69% 56%)
HSV / HSBhsv(284, 70%, 86%)
HWBhwb(284 25% 14%)
CMYKcmyk(19%, 70%, 0%, 14%)
CIELAB (D50)lab(49.69 62.79 -58.49)
LCHlch(49.69 85.81 317.03)
OKLaboklab(0.6 0.1669 -0.1638)
OKLCHoklch(0.6 0.2338 315.53)
Decimal11747804

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4.3
Closest web-safe color#cc33cc
Hue284°
Saturation (HSL / HSV)69% / 70%
Lightness (HSL)56%
Brightness or Value (HSV)86%
Luminance (Rec.601 / Rec.709)46% / 39%
Relative luminance (WCAG)0.1853
Red / Green / Blue179 / 65 / 220

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.46:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.71: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 70 / -31.7 · As background with white / black text: Lc -75.5 / 34.1

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