#8C1589#8C1589

#8C1589 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.193 H 329.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8C1589
RGBrgb(140, 21, 137)
HSLhsl(302, 74%, 32%)
HSVhsv(302, 85%, 55%)
CMYKcmyk(0%, 85%, 2.1%, 45.1%)
CIE-LABlab(33.81, 59.03, -35.54)
CIE-LCHlch(33.81, 68.91, 328.95°)
OKLaboklab(45.53% 0.1664 -0.0985)
OKLCHoklch(45.53% 0.193 329.4)
XYZxyz(15.5986, 7.9192, 24.3691)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1589 #158C18
analogous
#54158C #8C1589 #8C154E
triadic
#8C1589 #898C15 #15898C
tetradic
#8C1589 #8C5415 #158C18 #154E8C
square
#8C1589 #8C5415 #158C18 #154E8C
split-complementary
#8C1589 #4E8C15 #158C54
monochromatic
#220521 #570D55 #8C1589 #C11DBD #E13ADD

Accessibility & contrast

On white

8.13
#8C1589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8C1589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1589
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1589#FFFFFF#000000##FFFFFF
##8C15891.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#3C5586
Tritanopia (blue-blind)
#912A51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8c1589;
/* rgb */ color: rgb(140, 21, 137);
/* oklch */ color: oklch(45.5% 0.193 329.4);
Tailwind
colors: {
  custom: {
    50: '#b265ac',
    500: '#8c1589',
    950: '#000000',
  },
}
SCSS
$custom: #8c1589;
$custom-light: #b265ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1589",
  "rgb": {
    "r": 140,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 301.513,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4553,
    "c": 0.19336,
    "h": 329.4
  },
  "luminance": 0.07918
}

Semantic roles & 50–950 ramp

primary
#8C1589
secondary
#3DC040
accent
#F13C37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8C1589

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

Preview Lab → · Contrast checker → · Palette generator →

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