#8D1C8F#8D1C8F

#8D1C8F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.193 H 327.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8D1C8F
RGBrgb(141, 28, 143)
HSLhsl(299, 67%, 34%)
HSVhsv(299, 80%, 56%)
CMYKcmyk(1.4%, 80.4%, 0%, 43.9%)
CIE-LABlab(34.96, 58.47, -37.41)
CIE-LCHlch(34.96, 69.41, 327.39°)
OKLaboklab(46.49% 0.1622 -0.1039)
OKLCHoklch(46.49% 0.193 327.3)
XYZxyz(16.3574, 8.4776, 26.7561)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C8F #1E8F1C
analogous
#531C8F #8D1C8F #8F1C57
triadic
#8D1C8F #8F8D1C #1C8F8D
tetradic
#8D1C8F #8F531C #1E8F1C #1C578F
square
#8D1C8F #8F531C #1E8F1C #1C578F
split-complementary
#8D1C8F #578F1C #1C8F53
monochromatic
#280829 #5B125C #8D1C8F #BF26C2 #D94ADC

Accessibility & contrast

On white

7.79
#8D1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8D1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C8F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C8F#FFFFFF#000000##FFFFFF
##8D1C8F1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#913156
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1c8f;
/* rgb */ color: rgb(141, 28, 143);
/* oklch */ color: oklch(46.5% 0.193 327.3);
Tailwind
colors: {
  custom: {
    50: '#b268b0',
    500: '#8d1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c8f;
$custom-light: #b268b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c8f",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 298.957,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46492,
    "c": 0.19265,
    "h": 327.3
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#8D1C8F
secondary
#4BBE49
accent
#EA3E41
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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