#8F61BA

A color in the Purple, Crimson, Magenta family

#8f61ba is a color in the Purple, Crimson, Magenta family: RGB(143, 97, 186), HSL(271°, 39%, 55%), CMYK(23%, 48%, 0%, 27%). Closest named color: mediumpurple. Contrast is 4.58:1 on white and 4.59:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8f61ba
RGBrgb(143 97 186)
RGB (legacy)rgb(143, 97, 186)
RGB %rgb(56% 38% 73%)
HSLhsl(271 39% 55%)
HSV / HSBhsv(271, 48%, 73%)
HWBhwb(271 38% 27%)
CMYKcmyk(23%, 48%, 0%, 27%)
CIELAB (D50)lab(49.08 32.28 -40.34)
LCHlch(49.08 51.66 308.67)
OKLaboklab(0.5788 0.0826 -0.1121)
OKLCHoklch(0.5788 0.1392 306.39)
Decimal9396666

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 5.7
Closest web-safe color#9966cc
Hue271°
Saturation (HSL / HSV)39% / 48%
Lightness (HSL)55%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)47% / 44%
Relative luminance (WCAG)0.1793
Red / Green / Blue143 / 97 / 186

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.58:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.59: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.6 / -30.1 · As background with white / black text: Lc -77.1 / 32.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: #8f61ba;
  --color-brand-oklch: oklch(57.88% 0.1392 306.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(143 97 186 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8f61ba] text-[#8f61ba] border-[#8f61ba]">