#8C1585#8C1585

#8C1585 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.190 H 331.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8C1585
RGBrgb(140, 21, 133)
HSLhsl(304, 74%, 32%)
HSVhsv(304, 85%, 55%)
CMYKcmyk(0%, 85%, 5%, 45.1%)
CIE-LABlab(33.58, 58.40, -33.44)
CIE-LCHlch(33.58, 67.29, 330.21°)
OKLaboklab(45.29% 0.1665 -0.0924)
OKLCHoklch(45.29% 0.19 331)
XYZxyz(15.3170, 7.8065, 22.8859)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1585 #158C1C
analogous
#58158C #8C1585 #8C154A
triadic
#8C1585 #858C15 #15858C
tetradic
#8C1585 #8C5815 #158C1C #154A8C
square
#8C1585 #8C5815 #158C1C #154A8C
split-complementary
#8C1585 #4A8C15 #158C58
monochromatic
#220520 #570D52 #8C1585 #C11DB8 #E13AD8

Accessibility & contrast

On white

8.20
#8C1585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8C1585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1585
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1585#FFFFFF#000000##FFFFFF
##8C15851.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#3F5482
Tritanopia (blue-blind)
#92284F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8c1585;
/* rgb */ color: rgb(140, 21, 133);
/* oklch */ color: oklch(45.3% 0.190 331.0);
Tailwind
colors: {
  custom: {
    50: '#b165a9',
    500: '#8c1585',
    950: '#000000',
  },
}
SCSS
$custom: #8c1585;
$custom-light: #b165a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1585",
  "rgb": {
    "r": 140,
    "g": 21,
    "b": 133
  },
  "hsl": {
    "h": 303.529,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45285,
    "c": 0.19043,
    "h": 331
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#8C1585
secondary
#3DC045
accent
#F14237
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8C1585

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

Preview Lab → · Contrast checker → · Palette generator →

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