#8D1C8B#8D1C8B

#8D1C8B is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.190 H 328.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8D1C8B
RGBrgb(141, 28, 139)
HSLhsl(301, 67%, 33%)
HSVhsv(301, 80%, 55%)
CMYKcmyk(0%, 80.1%, 1.4%, 44.7%)
CIE-LABlab(34.72, 57.81, -35.33)
CIE-LCHlch(34.72, 67.75, 328.57°)
OKLaboklab(46.25% 0.1624 -0.0979)
OKLCHoklch(46.25% 0.19 328.9)
XYZxyz(16.0598, 8.3585, 25.1886)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C8B #1C8D1E
analogous
#561C8D #8D1C8B #8D1C52
triadic
#8D1C8B #8B8D1C #1C8B8D
tetradic
#8D1C8B #8D561C #1C8D1E #1C528D
square
#8D1C8B #8D561C #1C8D1E #1C528D
split-complementary
#8D1C8B #528D1C #1C8D56
monochromatic
#270826 #5A1259 #8D1C8B #C026BD #DB49D8

Accessibility & contrast

On white

7.86
#8D1C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D1C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C8B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C8B#FFFFFF#000000##FFFFFF
##8D1C8B1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#922F54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1c8b;
/* rgb */ color: rgb(141, 28, 139);
/* oklch */ color: oklch(46.2% 0.190 328.9);
Tailwind
colors: {
  custom: {
    50: '#b267ad',
    500: '#8d1c8b',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c8b;
$custom-light: #b267ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c8b",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 301.062,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.18959,
    "h": 328.9
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#8D1C8B
secondary
#48BD4A
accent
#EA413E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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