#8D108C#8D108C

#8D108C is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.6% C 0.199 H 328.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8D108C
RGBrgb(141, 16, 140)
HSLhsl(300, 80%, 31%)
HSVhsv(300, 89%, 55%)
CMYKcmyk(0%, 88.7%, 0.7%, 44.7%)
CIE-LABlab(33.83, 60.72, -37.36)
CIE-LCHlch(33.83, 71.30, 328.40°)
OKLaboklab(45.64% 0.1702 -0.1037)
OKLCHoklch(45.64% 0.199 328.6)
XYZxyz(15.9033, 7.9280, 25.4985)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D108C #108D11
analogous
#4F108D #8D108C #8D104D
triadic
#8D108C #8C8D10 #108C8D
tetradic
#8D108C #8D4F10 #108D11 #104D8D
square
#8D108C #8D4F10 #108D11 #104D8D
split-complementary
#8D108C #4D8D10 #108D4F
monochromatic
#1F041F #560A55 #8D108C #C416C3 #E730E6

Accessibility & contrast

On white

8.12
#8D108C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8D108C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D108C
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D108C#FFFFFF#000000##FFFFFF
##8D108C1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#3A5589
Tritanopia (blue-blind)
#922952
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d108c;
/* rgb */ color: rgb(141, 16, 140);
/* oklch */ color: oklch(45.6% 0.199 328.6);
Tailwind
colors: {
  custom: {
    50: '#b264ae',
    500: '#8d108c',
    950: '#000000',
  },
}
SCSS
$custom: #8d108c;
$custom-light: #b264ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d108c",
  "rgb": {
    "r": 141,
    "g": 16,
    "b": 140
  },
  "hsl": {
    "h": 300.48,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.19928,
    "h": 328.6
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#8D108C
secondary
#37C238
accent
#F63332
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D108C

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

Preview Lab → · Contrast checker → · Palette generator →

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