#8D1A9F#8D1A9F

#8D1A9F is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.4% C 0.207 H 321.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8D1A9F
RGBrgb(141, 26, 159)
HSLhsl(292, 72%, 36%)
HSVhsv(292, 84%, 62%)
CMYKcmyk(11.3%, 83.6%, 0%, 37.6%)
CIE-LABlab(35.80, 61.76, -45.82)
CIE-LCHlch(35.80, 76.90, 323.43°)
OKLaboklab(47.42% 0.1621 -0.1285)
OKLCHoklch(47.42% 0.207 321.6)
XYZxyz(17.6112, 8.9057, 33.5855)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A9F #2C9F1A
analogous
#4B1A9F #8D1A9F #9F1A6F
triadic
#8D1A9F #9F8D1A #1A9F8D
tetradic
#8D1A9F #9F4B1A #2C9F1A #1A6F9F
square
#8D1A9F #9F4B1A #2C9F1A #1A6F9F
split-complementary
#8D1A9F #6F9F1A #1A9F4B
monochromatic
#300936 #5E116A #8D1A9F #BC23D4 #CF51E3

Accessibility & contrast

On white

7.55
#8D1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8D1A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A9F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A9F#FFFFFF#000000##FFFFFF
##8D1A9F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#2E589C
Tritanopia (blue-blind)
#8E385F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d1a9f;
/* rgb */ color: rgb(141, 26, 159);
/* oklch */ color: oklch(47.4% 0.207 321.6);
Tailwind
colors: {
  custom: {
    50: '#b368bc',
    500: '#8d1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a9f;
$custom-light: #b368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a9f",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 291.88,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.20684,
    "h": 321.6
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#8D1A9F
secondary
#60C550
accent
#EF3952
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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