#8D107E#8D107E

#8D107E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.8% C 0.189 H 334.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8D107E
RGBrgb(141, 16, 126)
HSLhsl(307, 80%, 31%)
HSVhsv(307, 89%, 55%)
CMYKcmyk(0%, 88.7%, 10.6%, 44.7%)
CIE-LABlab(33.01, 58.57, -29.95)
CIE-LCHlch(33.01, 65.79, 332.92°)
OKLaboklab(44.79% 0.1706 -0.0822)
OKLCHoklch(44.79% 0.189 334.3)
XYZxyz(14.9359, 7.5411, 20.4036)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D107E #108D1F
analogous
#5D108D #8D107E #8D103F
triadic
#8D107E #7E8D10 #107E8D
tetradic
#8D107E #8D5D10 #108D1F #103F8D
square
#8D107E #8D5D10 #108D1F #103F8D
split-complementary
#8D107E #3F8D10 #108D5D
monochromatic
#1F041C #560A4D #8D107E #C416AF #E730D1

Accessibility & contrast

On white

8.37
#8D107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D107E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D107E#FFFFFF#000000##FFFFFF
##8D107E1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4281
Deuteranopia (green-blind)
#42547B
Tritanopia (blue-blind)
#94204A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d107e;
/* rgb */ color: rgb(141, 16, 126);
/* oklch */ color: oklch(44.8% 0.189 334.3);
Tailwind
colors: {
  custom: {
    50: '#b263a4',
    500: '#8d107e',
    950: '#000000',
  },
}
SCSS
$custom: #8d107e;
$custom-light: #b263a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d107e",
  "rgb": {
    "r": 141,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 307.2,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44787,
    "c": 0.18938,
    "h": 334.3
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#8D107E
secondary
#37C248
accent
#F64932
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D107E

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

Preview Lab → · Contrast checker → · Palette generator →

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