#8C1E8A#8C1E8A

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

Color values

HEX#8C1E8A
RGBrgb(140, 30, 138)
HSLhsl(301, 65%, 33%)
HSVhsv(301, 79%, 55%)
CMYKcmyk(0%, 78.6%, 1.4%, 45.1%)
CIE-LABlab(34.68, 56.85, -34.78)
CIE-LCHlch(34.68, 66.65, 328.54°)
OKLaboklab(46.17% 0.1597 -0.0963)
OKLCHoklch(46.17% 0.186 328.9)
XYZxyz(15.8668, 8.3402, 24.8140)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1E8A #1E8C20
analogous
#571E8C #8C1E8A #8C1E53
triadic
#8C1E8A #8A8C1E #1E8A8C
tetradic
#8C1E8A #8C571E #1E8C20 #1E538C
square
#8C1E8A #8C571E #1E8C20 #1E538C
split-complementary
#8C1E8A #538C1E #1E8C57
monochromatic
#270827 #5A1358 #8C1E8A #BE29BC #D94CD6

Accessibility & contrast

On white

7.87
#8C1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8C1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1E8A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1E8A#FFFFFF#000000##FFFFFF
##8C1E8A1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05488D
Deuteranopia (green-blind)
#3F5787
Tritanopia (blue-blind)
#913053
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8c1e8a;
/* rgb */ color: rgb(140, 30, 138);
/* oklch */ color: oklch(46.2% 0.186 328.9);
Tailwind
colors: {
  custom: {
    50: '#b168ac',
    500: '#8c1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8c1e8a;
$custom-light: #b168ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1e8a",
  "rgb": {
    "r": 140,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 301.091,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46166,
    "c": 0.18649,
    "h": 328.9
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#8C1E8A
secondary
#4BBB4D
accent
#E84340
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8C1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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