#8C1C8A#8C1C8A

#8C1C8A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.188 H 328.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8C1C8A
RGBrgb(140, 28, 138)
HSLhsl(301, 67%, 33%)
HSVhsv(301, 80%, 55%)
CMYKcmyk(0%, 80%, 1.4%, 45.1%)
CIE-LABlab(34.48, 57.43, -35.10)
CIE-LCHlch(34.48, 67.31, 328.57°)
OKLaboklab(46.02% 0.1613 -0.0972)
OKLCHoklch(46.02% 0.188 328.9)
XYZxyz(15.8178, 8.2422, 24.7976)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1C8A #1C8C1E
analogous
#561C8C #8C1C8A #8C1C52
triadic
#8C1C8A #8A8C1C #1C8A8C
tetradic
#8C1C8A #8C561C #1C8C1E #1C528C
square
#8C1C8A #8C561C #1C8C1E #1C528C
split-complementary
#8C1C8A #528C1C #1C8C56
monochromatic
#260825 #591258 #8C1C8A #BF26BC #DA48D8

Accessibility & contrast

On white

7.93
#8C1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8C1C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1C8A
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1C8A#FFFFFF#000000##FFFFFF
##8C1C8A1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#3E5687
Tritanopia (blue-blind)
#912E53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8c1c8a;
/* rgb */ color: rgb(140, 28, 138);
/* oklch */ color: oklch(46.0% 0.188 328.9);
Tailwind
colors: {
  custom: {
    50: '#b167ac',
    500: '#8c1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8c1c8a;
$custom-light: #b167ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1c8a",
  "rgb": {
    "r": 140,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 301.071,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46024,
    "c": 0.18836,
    "h": 328.9
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#8C1C8A
secondary
#48BC4A
accent
#EA413E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8C1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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