#8C2C8A#8C2C8A

#8C2C8A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.171 H 328.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8C2C8A
RGBrgb(140, 44, 138)
HSLhsl(301, 52%, 36%)
HSVhsv(301, 69%, 55%)
CMYKcmyk(0%, 68.6%, 1.4%, 45.1%)
CIE-LABlab(36.39, 51.99, -32.07)
CIE-LCHlch(36.39, 61.08, 328.33°)
OKLaboklab(47.39% 0.1458 -0.0886)
OKLCHoklch(47.39% 0.171 328.7)
XYZxyz(16.3032, 9.2129, 24.9594)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2C8A #2C8C2E
analogous
#5E2C8C #8C2C8A #8C2C5A
triadic
#8C2C8A #8A8C2C #2C8A8C
tetradic
#8C2C8A #8C5E2C #2C8C2E #2C5A8C
square
#8C2C8A #8C5E2C #2C8C2E #2C5A8C
split-complementary
#8C2C8A #5A8C2C #2C8C5E
monochromatic
#2F0F2E #5D1D5C #8C2C8A #BB3BB8 #CE64CC

Accessibility & contrast

On white

7.39
#8C2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8C2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2C8A
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2C8A#FFFFFF#000000##FFFFFF
##8C2C8A1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8D
Deuteranopia (green-blind)
#455A87
Tritanopia (blue-blind)
#913957
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c2c8a;
/* rgb */ color: rgb(140, 44, 138);
/* oklch */ color: oklch(47.4% 0.171 328.7);
Tailwind
colors: {
  custom: {
    50: '#b16eac',
    500: '#8c2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8c2c8a;
$custom-light: #b16eac;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2c8a",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 301.25,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47392,
    "c": 0.17062,
    "h": 328.7
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#8C2C8A
secondary
#5FB561
accent
#DC4F4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8C2C8A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8C2C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva