#8D1A8F#8D1A8F

#8D1A8F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.194 H 327.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8D1A8F
RGBrgb(141, 26, 143)
HSLhsl(299, 69%, 33%)
HSVhsv(299, 82%, 56%)
CMYKcmyk(1.4%, 81.8%, 0%, 43.9%)
CIE-LABlab(34.77, 59.00, -37.71)
CIE-LCHlch(34.77, 70.02, 327.42°)
OKLaboklab(46.36% 0.1637 -0.1048)
OKLCHoklch(46.36% 0.194 327.4)
XYZxyz(16.3116, 8.3859, 26.7408)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A8F #1C8F1A
analogous
#521A8F #8D1A8F #8F1A57
triadic
#8D1A8F #8F8D1A #1A8F8D
tetradic
#8D1A8F #8F521A #1C8F1A #1A578F
square
#8D1A8F #8F521A #1C8F1A #1A578F
split-complementary
#8D1A8F #578F1A #1A8F52
monochromatic
#270727 #5A115B #8D1A8F #C023C3 #DB46DD

Accessibility & contrast

On white

7.84
#8D1A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8D1A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A8F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A8F#FFFFFF#000000##FFFFFF
##8D1A8F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1a8f;
/* rgb */ color: rgb(141, 26, 143);
/* oklch */ color: oklch(46.4% 0.194 327.4);
Tailwind
colors: {
  custom: {
    50: '#b267b0',
    500: '#8d1a8f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a8f;
$custom-light: #b267b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a8f",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 298.974,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46361,
    "c": 0.19438,
    "h": 327.4
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

primary
#8D1A8F
secondary
#48BF46
accent
#EC3C3F
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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