#8D1F8F#8D1F8F

#8D1F8F is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.190 H 327.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8D1F8F
RGBrgb(141, 31, 143)
HSLhsl(299, 64%, 34%)
HSVhsv(299, 78%, 56%)
CMYKcmyk(1.4%, 78.3%, 0%, 43.9%)
CIE-LABlab(35.26, 57.61, -36.94)
CIE-LCHlch(35.26, 68.43, 327.33°)
OKLaboklab(46.7% 0.1598 -0.1026)
OKLCHoklch(46.7% 0.19 327.3)
XYZxyz(16.4322, 8.6271, 26.7810)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F8F #218F1F
analogous
#551F8F #8D1F8F #8F1F59
triadic
#8D1F8F #8F8D1F #1F8F8D
tetradic
#8D1F8F #8F551F #218F1F #1F598F
square
#8D1F8F #8F551F #218F1F #1F598F
split-complementary
#8D1F8F #598F1F #1F8F55
monochromatic
#2A092A #5B145D #8D1F8F #BF2AC1 #D64FD9

Accessibility & contrast

On white

7.71
#8D1F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8D1F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F8F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F8F#FFFFFF#000000##FFFFFF
##8D1F8F1.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#3D588C
Tritanopia (blue-blind)
#913257
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d1f8f;
/* rgb */ color: rgb(141, 31, 143);
/* oklch */ color: oklch(46.7% 0.190 327.3);
Tailwind
colors: {
  custom: {
    50: '#b269b0',
    500: '#8d1f8f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f8f;
$custom-light: #b269b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f8f",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 298.929,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46704,
    "c": 0.18988,
    "h": 327.3
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#8D1F8F
secondary
#50BC4E
accent
#E74043
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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