#8D147E#8D147E

#8D147E is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.187 H 334.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8D147E
RGBrgb(141, 20, 126)
HSLhsl(307, 75%, 32%)
HSVhsv(307, 86%, 55%)
CMYKcmyk(0%, 85.8%, 10.6%, 44.7%)
CIE-LABlab(33.29, 57.76, -29.51)
CIE-LCHlch(33.29, 64.86, 332.94°)
OKLaboklab(44.99% 0.1682 -0.081)
OKLCHoklch(44.99% 0.187 334.3)
XYZxyz(15.0007, 7.6708, 20.4252)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D147E #148D23
analogous
#60148D #8D147E #8D1442
triadic
#8D147E #7E8D14 #147E8D
tetradic
#8D147E #8D6014 #148D23 #14428D
square
#8D147E #8D6014 #148D23 #14428D
split-complementary
#8D147E #428D14 #148D60
monochromatic
#22051E #570C4E #8D147E #C31CAE #E339CE

Accessibility & contrast

On white

8.29
#8D147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8D147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D147E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D147E#FFFFFF#000000##FFFFFF
##8D147E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104381
Deuteranopia (green-blind)
#43547B
Tritanopia (blue-blind)
#94234B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d147e;
/* rgb */ color: rgb(141, 20, 126);
/* oklch */ color: oklch(45.0% 0.187 334.3);
Tailwind
colors: {
  custom: {
    50: '#b264a4',
    500: '#8d147e',
    950: '#000000',
  },
}
SCSS
$custom: #8d147e;
$custom-light: #b264a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d147e",
  "rgb": {
    "r": 141,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 307.438,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44986,
    "c": 0.18667,
    "h": 334.3
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#8D147E
secondary
#3CC14C
accent
#F24D36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D147E

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

Preview Lab → · Contrast checker → · Palette generator →

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