#8C1487#8C1487

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

Color values

HEX#8C1487
RGBrgb(140, 20, 135)
HSLhsl(303, 75%, 31%)
HSVhsv(303, 86%, 55%)
CMYKcmyk(0%, 85.7%, 3.6%, 45.1%)
CIE-LABlab(33.62, 58.94, -34.61)
CIE-LCHlch(33.62, 68.35, 329.57°)
OKLaboklab(45.35% 0.1671 -0.0958)
OKLCHoklch(45.35% 0.193 330.2)
XYZxyz(15.4385, 7.8263, 23.6145)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1487 #148C19
analogous
#55148C #8C1487 #8C144B
triadic
#8C1487 #878C14 #14878C
tetradic
#8C1487 #8C5514 #148C19 #144B8C
square
#8C1487 #8C5514 #148C19 #144B8C
split-complementary
#8C1487 #4B8C14 #148C55
monochromatic
#210520 #560C53 #8C1487 #C21CBB #E338DB

Accessibility & contrast

On white

8.19
#8C1487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C1487
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1487#FFFFFF#000000##FFFFFF
##8C14871.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c1487;
/* rgb */ color: rgb(140, 20, 135);
/* oklch */ color: oklch(45.4% 0.193 330.2);
Tailwind
colors: {
  custom: {
    50: '#b265aa',
    500: '#8c1487',
    950: '#000000',
  },
}
SCSS
$custom: #8c1487;
$custom-light: #b265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1487",
  "rgb": {
    "r": 140,
    "g": 20,
    "b": 135
  },
  "hsl": {
    "h": 302.5,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.19261,
    "h": 330.2
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#8C1487
secondary
#3CC041
accent
#F23E36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8C1487

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

Preview Lab → · Contrast checker → · Palette generator →

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