#8C1D8A#8C1D8A

#8C1D8A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.187 H 328.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8C1D8A
RGBrgb(140, 29, 138)
HSLhsl(301, 66%, 33%)
HSVhsv(301, 79%, 55%)
CMYKcmyk(0%, 79.3%, 1.4%, 45.1%)
CIE-LABlab(34.58, 57.15, -34.94)
CIE-LCHlch(34.58, 66.98, 328.56°)
OKLaboklab(46.09% 0.1605 -0.0968)
OKLCHoklch(46.09% 0.187 328.9)
XYZxyz(15.8419, 8.2904, 24.8057)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1D8A #1D8C1F
analogous
#561D8C #8C1D8A #8C1D52
triadic
#8C1D8A #8A8C1D #1D8A8C
tetradic
#8C1D8A #8C561D #1D8C1F #1D528C
square
#8C1D8A #8C561D #1D8C1F #1D528C
split-complementary
#8C1D8A #528C1D #1D8C56
monochromatic
#270826 #591258 #8C1D8A #BF28BC #D94AD7

Accessibility & contrast

On white

7.90
#8C1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8C1D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1D8A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1D8A#FFFFFF#000000##FFFFFF
##8C1D8A1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03488D
Deuteranopia (green-blind)
#3F5687
Tritanopia (blue-blind)
#912F53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8c1d8a;
/* rgb */ color: rgb(140, 29, 138);
/* oklch */ color: oklch(46.1% 0.187 328.9);
Tailwind
colors: {
  custom: {
    50: '#b167ac',
    500: '#8c1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #8c1d8a;
$custom-light: #b167ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1d8a",
  "rgb": {
    "r": 140,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 301.081,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46094,
    "c": 0.18743,
    "h": 328.9
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#8C1D8A
secondary
#49BC4B
accent
#E9423F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8C1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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