#8D107B#8D107B

#8D107B is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.187 H 335.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8D107B
RGBrgb(141, 16, 123)
HSLhsl(309, 80%, 31%)
HSVhsv(309, 89%, 55%)
CMYKcmyk(0%, 88.7%, 12.8%, 44.7%)
CIE-LABlab(32.84, 58.13, -28.33)
CIE-LCHlch(32.84, 64.67, 334.02°)
OKLaboklab(44.62% 0.1705 -0.0775)
OKLCHoklch(44.62% 0.187 335.5)
XYZxyz(14.7452, 7.4648, 19.3993)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D107B #108D22
analogous
#60108D #8D107B #8D103C
triadic
#8D107B #7B8D10 #107B8D
tetradic
#8D107B #8D6010 #108D22 #103C8D
square
#8D107B #8D6010 #108D22 #103C8D
split-complementary
#8D107B #3C8D10 #108D60
monochromatic
#1F041B #560A4B #8D107B #C416AB #E730CD

Accessibility & contrast

On white

8.42
#8D107B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8D107B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D107B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D107B#FFFFFF#000000##FFFFFF
##8D107B1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11427E
Deuteranopia (green-blind)
#445378
Tritanopia (blue-blind)
#951E48
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d107b;
/* rgb */ color: rgb(141, 16, 123);
/* oklch */ color: oklch(44.6% 0.187 335.5);
Tailwind
colors: {
  custom: {
    50: '#b263a1',
    500: '#8d107b',
    950: '#000000',
  },
}
SCSS
$custom: #8d107b;
$custom-light: #b263a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d107b",
  "rgb": {
    "r": 141,
    "g": 16,
    "b": 123
  },
  "hsl": {
    "h": 308.64,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44615,
    "c": 0.18734,
    "h": 335.5
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#8D107B
secondary
#37C24B
accent
#F64E32
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8D107B

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

Preview Lab → · Contrast checker → · Palette generator →

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