#8C1981#8C1981

#8C1981 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.184 H 332.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8C1981
RGBrgb(140, 25, 129)
HSLhsl(306, 70%, 32%)
HSVhsv(306, 82%, 55%)
CMYKcmyk(0%, 82.1%, 7.9%, 45.1%)
CIE-LABlab(33.68, 56.80, -30.77)
CIE-LCHlch(33.68, 64.60, 331.55°)
OKLaboklab(45.29% 0.1637 -0.0847)
OKLCHoklch(45.29% 0.184 332.6)
XYZxyz(15.1254, 7.8570, 21.4846)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1981 #198C24
analogous
#5D198C #8C1981 #8C1948
triadic
#8C1981 #818C19 #19818C
tetradic
#8C1981 #8C5D19 #198C24 #19488C
square
#8C1981 #8C5D19 #198C24 #19488C
split-complementary
#8C1981 #488C19 #198C5D
monochromatic
#240621 #581051 #8C1981 #C022B1 #DD42CE

Accessibility & contrast

On white

8.17
#8C1981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C1981
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1981#FFFFFF#000000##FFFFFF
##8C19811.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104584
Deuteranopia (green-blind)
#42557E
Tritanopia (blue-blind)
#92284D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8c1981;
/* rgb */ color: rgb(140, 25, 129);
/* oklch */ color: oklch(45.3% 0.184 332.6);
Tailwind
colors: {
  custom: {
    50: '#b166a6',
    500: '#8c1981',
    950: '#000000',
  },
}
SCSS
$custom: #8c1981;
$custom-light: #b166a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1981",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 305.739,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45287,
    "c": 0.18431,
    "h": 332.6
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#8C1981
secondary
#43BE4E
accent
#ED4C3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8C1981

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

Preview Lab → · Contrast checker → · Palette generator →

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