#8C1587#8C1587

#8C1587 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.192 H 330.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8C1587
RGBrgb(140, 21, 135)
HSLhsl(303, 74%, 32%)
HSVhsv(303, 85%, 55%)
CMYKcmyk(0%, 85%, 3.6%, 45.1%)
CIE-LABlab(33.69, 58.71, -34.49)
CIE-LCHlch(33.69, 68.10, 329.57°)
OKLaboklab(45.41% 0.1665 -0.0954)
OKLCHoklch(45.41% 0.192 330.2)
XYZxyz(15.4565, 7.8623, 23.6205)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1587 #158C1A
analogous
#56158C #8C1587 #8C154C
triadic
#8C1587 #878C15 #15878C
tetradic
#8C1587 #8C5615 #158C1A #154C8C
square
#8C1587 #8C5615 #158C1A #154C8C
split-complementary
#8C1587 #4C8C15 #158C56
monochromatic
#220520 #570D54 #8C1587 #C11DBA #E13ADA

Accessibility & contrast

On white

8.16
#8C1587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8C1587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1587
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1587#FFFFFF#000000##FFFFFF
##8C15871.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#3E5584
Tritanopia (blue-blind)
#922950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8c1587;
/* rgb */ color: rgb(140, 21, 135);
/* oklch */ color: oklch(45.4% 0.192 330.2);
Tailwind
colors: {
  custom: {
    50: '#b165aa',
    500: '#8c1587',
    950: '#000000',
  },
}
SCSS
$custom: #8c1587;
$custom-light: #b165aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1587",
  "rgb": {
    "r": 140,
    "g": 21,
    "b": 135
  },
  "hsl": {
    "h": 302.521,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45407,
    "c": 0.19189,
    "h": 330.2
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#8C1587
secondary
#3DC042
accent
#F13F37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8C1587

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

Preview Lab → · Contrast checker → · Palette generator →

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