#8D1B7F#8D1B7F

#8D1B7F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.182 H 333.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8D1B7F
RGBrgb(141, 27, 127)
HSLhsl(307, 68%, 33%)
HSVhsv(307, 81%, 55%)
CMYKcmyk(0%, 80.9%, 9.9%, 44.7%)
CIE-LABlab(33.94, 56.17, -29.10)
CIE-LCHlch(33.94, 63.27, 332.61°)
OKLaboklab(45.47% 0.1631 -0.0798)
OKLCHoklch(45.47% 0.182 333.9)
XYZxyz(15.2074, 7.9803, 20.8140)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B7F #1B8D29
analogous
#621B8D #8D1B7F #8D1B46
triadic
#8D1B7F #7F8D1B #1B7F8D
tetradic
#8D1B7F #8D621B #1B8D29 #1B468D
square
#8D1B7F #8D621B #1B8D29 #1B468D
split-complementary
#8D1B7F #468D1B #1B8D62
monochromatic
#260722 #5A1151 #8D1B7F #C025AD #DC47C9

Accessibility & contrast

On white

8.09
#8D1B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8D1B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B7F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B7F#FFFFFF#000000##FFFFFF
##8D1B7F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174582
Deuteranopia (green-blind)
#45567C
Tritanopia (blue-blind)
#94274D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1b7f;
/* rgb */ color: rgb(141, 27, 127);
/* oklch */ color: oklch(45.5% 0.182 333.9);
Tailwind
colors: {
  custom: {
    50: '#b266a4',
    500: '#8d1b7f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b7f;
$custom-light: #b266a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b7f",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 307.368,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45471,
    "c": 0.1816,
    "h": 333.9
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#8D1B7F
secondary
#46BD55
accent
#EB523D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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