#8F287C

A color in the Purple, Crimson, Magenta family

#8f287c is a color in the Purple, Crimson, Magenta family: RGB(143, 40, 124), HSL(311°, 56%, 36%), CMYK(0%, 72%, 13%, 44%). Closest named color: darkmagenta. Contrast is 7.6:1 on white and 2.76:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8f287c
RGBrgb(143 40 124)
RGB (legacy)rgb(143, 40, 124)
RGB %rgb(56% 16% 49%)
HSLhsl(311 56% 36%)
HSV / HSBhsv(311, 72%, 56%)
HWBhwb(311 16% 44%)
CMYKcmyk(0%, 72%, 13%, 44%)
CIELAB (D50)lab(35.7 50.05 -24.11)
LCHlch(35.7 55.55 334.28)
OKLaboklab(0.467 0.1524 -0.0669)
OKLCHoklch(0.467 0.1665 336.31)
Decimal9382012

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 5.1
Closest web-safe color#993366
Hue311°
Saturation (HSL / HSV)56% / 72%
Lightness (HSL)36%
Brightness or Value (HSV)56%
Luminance (Rec.601 / Rec.709)32% / 27%
Relative luminance (WCAG)0.0881
Red / Green / Blue143 / 40 / 124

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 85.4 / -16.6 · As background with white / black text: Lc -90.3 / 18.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: #8f287c;
  --color-brand-oklch: oklch(46.7% 0.1665 336.31);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(143 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8f287c] text-[#8f287c] border-[#8f287c]">