#8C61BA

A color in the Violet family

#8c61ba is a color in the Violet family: RGB(140, 97, 186), HSL(269°, 39%, 55%), CMYK(25%, 48%, 0%, 27%). Closest named color: mediumpurple. Contrast is 4.63:1 on white and 4.53:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8c61ba
RGBrgb(140 97 186)
RGB (legacy)rgb(140, 97, 186)
RGB %rgb(55% 38% 73%)
HSLhsl(269 39% 55%)
HSV / HSBhsv(269, 48%, 73%)
HWBhwb(269 38% 27%)
CMYKcmyk(25%, 48%, 0%, 27%)
CIELAB (D50)lab(48.74 31.34 -40.9)
LCHlch(48.74 51.53 307.46)
OKLaboklab(0.5756 0.0788 -0.1137)
OKLCHoklch(0.5756 0.1384 304.74)
Decimal9200058

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.9
Closest web-safe color#9966cc
Hue269°
Saturation (HSL / HSV)39% / 48%
Lightness (HSL)55%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)47% / 44%
Relative luminance (WCAG)0.1767
Red / Green / Blue140 / 97 / 186

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.63:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.53: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 72 / -29.7 · As background with white / black text: Lc -77.4 / 32.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: #8c61ba;
  --color-brand-oklch: oklch(57.56% 0.1384 304.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(140 97 186 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8c61ba] text-[#8c61ba] border-[#8c61ba]">