#8D147F#8D147F

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

Color values

HEX#8D147F
RGBrgb(141, 20, 127)
HSLhsl(307, 75%, 32%)
HSVhsv(307, 86%, 55%)
CMYKcmyk(0%, 85.8%, 9.9%, 44.7%)
CIE-LABlab(33.34, 57.91, -30.05)
CIE-LCHlch(33.34, 65.24, 332.57°)
OKLaboklab(45.04% 0.1682 -0.0825)
OKLCHoklch(45.04% 0.187 333.9)
XYZxyz(15.0656, 7.6967, 20.7667)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D147F #148D22
analogous
#5F148D #8D147F #8D1443
triadic
#8D147F #7F8D14 #147F8D
tetradic
#8D147F #8D5F14 #148D22 #14438D
square
#8D147F #8D5F14 #148D22 #14438D
split-complementary
#8D147F #438D14 #148D5F
monochromatic
#22051E #570C4F #8D147F #C31CAF #E339CF

Accessibility & contrast

On white

8.27
#8D147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8D147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D147F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D147F#FFFFFF#000000##FFFFFF
##8D147F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d147f;
/* rgb */ color: rgb(141, 20, 127);
/* oklch */ color: oklch(45.0% 0.187 333.9);
Tailwind
colors: {
  custom: {
    50: '#b264a4',
    500: '#8d147f',
    950: '#000000',
  },
}
SCSS
$custom: #8d147f;
$custom-light: #b264a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d147f",
  "rgb": {
    "r": 141,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 306.942,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45043,
    "c": 0.18737,
    "h": 333.9
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#8D147F
secondary
#3CC14B
accent
#F24C36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D147F

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

Preview Lab → · Contrast checker → · Palette generator →

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