#8D108A#8D108A

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

Color values

HEX#8D108A
RGBrgb(141, 16, 138)
HSLhsl(301, 80%, 31%)
HSVhsv(301, 89%, 55%)
CMYKcmyk(0%, 88.7%, 2.1%, 44.7%)
CIE-LABlab(33.71, 60.41, -36.32)
CIE-LCHlch(33.71, 70.48, 328.99°)
OKLaboklab(45.51% 0.1703 -0.1007)
OKLCHoklch(45.51% 0.198 329.4)
XYZxyz(15.7571, 7.8696, 24.7289)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D108A #108D13
analogous
#51108D #8D108A #8D104B
triadic
#8D108A #8A8D10 #108A8D
tetradic
#8D108A #8D5110 #108D13 #104B8D
square
#8D108A #8D5110 #108D13 #104B8D
split-complementary
#8D108A #4B8D10 #108D51
monochromatic
#1F041E #560A54 #8D108A #C416C0 #E730E3

Accessibility & contrast

On white

8.16
#8D108A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D108A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D108A#FFFFFF#000000##FFFFFF
##8D108A1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#3B5587
Tritanopia (blue-blind)
#922851
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d108a;
/* rgb */ color: rgb(141, 16, 138);
/* oklch */ color: oklch(45.5% 0.198 329.4);
Tailwind
colors: {
  custom: {
    50: '#b264ad',
    500: '#8d108a',
    950: '#000000',
  },
}
SCSS
$custom: #8d108a;
$custom-light: #b264ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d108a",
  "rgb": {
    "r": 141,
    "g": 16,
    "b": 138
  },
  "hsl": {
    "h": 301.44,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4551,
    "c": 0.19783,
    "h": 329.4
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#8D108A
secondary
#37C23A
accent
#F63632
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D108A

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

Preview Lab → · Contrast checker → · Palette generator →

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