#8D147B#8D147B

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

Color values

HEX#8D147B
RGBrgb(141, 20, 123)
HSLhsl(309, 75%, 32%)
HSVhsv(309, 86%, 55%)
CMYKcmyk(0%, 85.8%, 12.8%, 44.7%)
CIE-LABlab(33.12, 57.32, -27.89)
CIE-LCHlch(33.12, 63.74, 334.06°)
OKLaboklab(44.82% 0.1681 -0.0763)
OKLCHoklch(44.82% 0.185 335.6)
XYZxyz(14.8101, 7.5945, 19.4210)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D147B #148D26
analogous
#63148D #8D147B #8D143F
triadic
#8D147B #7B8D14 #147B8D
tetradic
#8D147B #8D6314 #148D26 #143F8D
square
#8D147B #8D6314 #148D26 #143F8D
split-complementary
#8D147B #3F8D14 #148D63
monochromatic
#22051D #570C4C #8D147B #C31CAA #E339CA

Accessibility & contrast

On white

8.34
#8D147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8D147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D147B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D147B#FFFFFF#000000##FFFFFF
##8D147B1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437E
Deuteranopia (green-blind)
#455478
Tritanopia (blue-blind)
#952149
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d147b;
/* rgb */ color: rgb(141, 20, 123);
/* oklch */ color: oklch(44.8% 0.185 335.6);
Tailwind
colors: {
  custom: {
    50: '#b264a1',
    500: '#8d147b',
    950: '#000000',
  },
}
SCSS
$custom: #8d147b;
$custom-light: #b264a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d147b",
  "rgb": {
    "r": 141,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 308.926,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.18459,
    "h": 335.6
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#8D147B
secondary
#3CC150
accent
#F25236
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8D147B

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

Preview Lab → · Contrast checker → · Palette generator →

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