#B341DF

A color in the Purple, Crimson, Magenta family

#b341df is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 223), HSL(283°, 71%, 56%), CMYK(20%, 71%, 0%, 13%). Closest named color: mediumorchid. Contrast is 4.43:1 on white and 4.74:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b341df
RGBrgb(179 65 223)
RGB (legacy)rgb(179, 65, 223)
RGB %rgb(70% 25% 87%)
HSLhsl(283 71% 56%)
HSV / HSBhsv(283, 71%, 87%)
HWBhwb(283 25% 13%)
CMYKcmyk(20%, 71%, 0%, 13%)
CIELAB (D50)lab(49.85 63.24 -59.93)
LCHlch(49.85 87.13 316.54)
OKLaboklab(0.602 0.1666 -0.1679)
OKLCHoklch(0.602 0.2365 314.77)
Decimal11747807

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4.5
Closest web-safe color#cc33cc
Hue283°
Saturation (HSL / HSV)71% / 71%
Lightness (HSL)56%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)46% / 39%
Relative luminance (WCAG)0.1869
Red / Green / Blue179 / 65 / 223

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.43:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.74: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 69.8 / -31.9 · As background with white / black text: Lc -75.2 / 34.3

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