#B140AF

A color in the Purple, Crimson, Magenta family

#b140af is a color in the Purple, Crimson, Magenta family: RGB(177, 64, 175), HSL(301°, 47%, 47%), CMYK(0%, 64%, 1%, 31%). Closest named color: mediumorchid. Contrast is 4.97:1 on white and 4.22:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b140af
RGBrgb(177 64 175)
RGB (legacy)rgb(177, 64, 175)
RGB %rgb(69% 25% 69%)
HSLhsl(301 47% 47%)
HSV / HSBhsv(301, 64%, 69%)
HWBhwb(301 25% 31%)
CMYKcmyk(0%, 64%, 1%, 31%)
CIELAB (D50)lab(47.05 56.47 -36.72)
LCHlch(47.05 67.36 326.96)
OKLaboklab(0.5694 0.1665 -0.1021)
OKLCHoklch(0.5694 0.1953 328.49)
Decimal11616431

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6.5
Closest web-safe color#993399
Hue301°
Saturation (HSL / HSV)47% / 64%
Lightness (HSL)47%
Brightness or Value (HSV)69%
Luminance (Rec.601 / Rec.709)43% / 38%
Relative luminance (WCAG)0.1611
Red / Green / Blue177 / 64 / 175

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.97:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.22:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 73.6 / -28.1 · As background with white / black text: Lc -79 / 30.5

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: #b140af;
  --color-brand-oklch: oklch(56.94% 0.1953 328.49);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(177 64 175 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b140af] text-[#b140af] border-[#b140af]">