#8D107F#8D107F

#8D107F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.190 H 333.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8D107F
RGBrgb(141, 16, 127)
HSLhsl(307, 80%, 31%)
HSVhsv(307, 89%, 55%)
CMYKcmyk(0%, 88.7%, 9.9%, 44.7%)
CIE-LABlab(33.06, 58.72, -30.49)
CIE-LCHlch(33.06, 66.17, 332.56°)
OKLaboklab(44.85% 0.1706 -0.0838)
OKLCHoklch(44.85% 0.19 333.8)
XYZxyz(15.0007, 7.5670, 20.7451)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D107F #108D1E
analogous
#5C108D #8D107F #8D1040
triadic
#8D107F #7F8D10 #107F8D
tetradic
#8D107F #8D5C10 #108D1E #10408D
square
#8D107F #8D5C10 #108D1E #10408D
split-complementary
#8D107F #408D10 #108D5C
monochromatic
#1F041C #560A4D #8D107F #C416B1 #E730D3

Accessibility & contrast

On white

8.36
#8D107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8D107F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D107F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D107F#FFFFFF#000000##FFFFFF
##8D107F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084382
Deuteranopia (green-blind)
#42547C
Tritanopia (blue-blind)
#94214A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d107f;
/* rgb */ color: rgb(141, 16, 127);
/* oklch */ color: oklch(44.8% 0.190 333.8);
Tailwind
colors: {
  custom: {
    50: '#b263a4',
    500: '#8d107f',
    950: '#000000',
  },
}
SCSS
$custom: #8d107f;
$custom-light: #b263a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d107f",
  "rgb": {
    "r": 141,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 306.72,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44845,
    "c": 0.19007,
    "h": 333.8
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#8D107F
secondary
#37C247
accent
#F64832
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D107F

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

Preview Lab → · Contrast checker → · Palette generator →

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