#8D108B#8D108B

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

Color values

HEX#8D108B
RGBrgb(141, 16, 139)
HSLhsl(301, 80%, 31%)
HSVhsv(301, 89%, 55%)
CMYKcmyk(0%, 88.7%, 1.4%, 44.7%)
CIE-LABlab(33.77, 60.57, -36.84)
CIE-LCHlch(33.77, 70.89, 328.69°)
OKLaboklab(45.57% 0.1702 -0.1022)
OKLCHoklch(45.57% 0.199 329)
XYZxyz(15.8299, 7.8987, 25.1120)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D108B #108D12
analogous
#50108D #8D108B #8D104C
triadic
#8D108B #8B8D10 #108B8D
tetradic
#8D108B #8D5010 #108D12 #104C8D
square
#8D108B #8D5010 #108D12 #104C8D
split-complementary
#8D108B #4C8D10 #108D50
monochromatic
#1F041F #560A55 #8D108B #C416C1 #E730E5

Accessibility & contrast

On white

8.14
#8D108B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D108B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D108B
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D108B#FFFFFF#000000##FFFFFF
##8D108B1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#3B5588
Tritanopia (blue-blind)
#922951
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d108b;
/* rgb */ color: rgb(141, 16, 139);
/* oklch */ color: oklch(45.6% 0.199 329.0);
Tailwind
colors: {
  custom: {
    50: '#b264ad',
    500: '#8d108b',
    950: '#000000',
  },
}
SCSS
$custom: #8d108b;
$custom-light: #b264ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d108b",
  "rgb": {
    "r": 141,
    "g": 16,
    "b": 139
  },
  "hsl": {
    "h": 300.96,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.45573,
    "c": 0.19855,
    "h": 329
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#8D108B
secondary
#37C239
accent
#F63532
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D108B

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

Preview Lab → · Contrast checker → · Palette generator →

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