#8D107C#8D107C

#8D107C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.188 H 335.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8D107C
RGBrgb(141, 16, 124)
HSLhsl(308, 80%, 31%)
HSVhsv(308, 89%, 55%)
CMYKcmyk(0%, 88.7%, 12.1%, 44.7%)
CIE-LABlab(32.90, 58.28, -28.87)
CIE-LCHlch(32.90, 65.04, 333.65°)
OKLaboklab(44.67% 0.1706 -0.0791)
OKLCHoklch(44.67% 0.188 335.1)
XYZxyz(14.8081, 7.4900, 19.7307)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D107C #108D21
analogous
#5F108D #8D107C #8D103D
triadic
#8D107C #7C8D10 #107C8D
tetradic
#8D107C #8D5F10 #108D21 #103D8D
square
#8D107C #8D5F10 #108D21 #103D8D
split-complementary
#8D107C #3D8D10 #108D5F
monochromatic
#1F041B #560A4C #8D107C #C416AC #E730CF

Accessibility & contrast

On white

8.41
#8D107C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8D107C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D107C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D107C#FFFFFF#000000##FFFFFF
##8D107C1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427F
Deuteranopia (green-blind)
#435479
Tritanopia (blue-blind)
#941F49
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d107c;
/* rgb */ color: rgb(141, 16, 124);
/* oklch */ color: oklch(44.7% 0.188 335.1);
Tailwind
colors: {
  custom: {
    50: '#b263a2',
    500: '#8d107c',
    950: '#000000',
  },
}
SCSS
$custom: #8d107c;
$custom-light: #b263a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d107c",
  "rgb": {
    "r": 141,
    "g": 16,
    "b": 124
  },
  "hsl": {
    "h": 308.16,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44672,
    "c": 0.18801,
    "h": 335.1
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#8D107C
secondary
#37C24A
accent
#F64C32
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D107C

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

Preview Lab → · Contrast checker → · Palette generator →

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