#8D1B97#8D1B97

#8D1B97 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.200 H 324.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8D1B97
RGBrgb(141, 27, 151)
HSLhsl(295, 70%, 35%)
HSVhsv(295, 82%, 59%)
CMYKcmyk(6.6%, 82.1%, 0%, 40.8%)
CIE-LABlab(35.36, 60.10, -41.66)
CIE-LCHlch(35.36, 73.13, 325.27°)
OKLaboklab(46.94% 0.1624 -0.1163)
OKLCHoklch(46.94% 0.2 324.4)
XYZxyz(16.9619, 8.6821, 30.0546)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B97 #25971B
analogous
#4F1B97 #8D1B97 #971B63
triadic
#8D1B97 #978D1B #1B978D
tetradic
#8D1B97 #974F1B #25971B #1B6397
square
#8D1B97 #974F1B #25971B #1B6397
split-complementary
#8D1B97 #63971B #1B974F
monochromatic
#2C082F #5D1263 #8D1B97 #BD24CB #D34DDF

Accessibility & contrast

On white

7.67
#8D1B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8D1B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B97
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B97#FFFFFF#000000##FFFFFF
##8D1B971.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#365894
Tritanopia (blue-blind)
#90355A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d1b97;
/* rgb */ color: rgb(141, 27, 151);
/* oklch */ color: oklch(46.9% 0.200 324.4);
Tailwind
colors: {
  custom: {
    50: '#b268b6',
    500: '#8d1b97',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b97;
$custom-light: #b268b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b97",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 295.161,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4694,
    "c": 0.19973,
    "h": 324.4
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#8D1B97
secondary
#56C14C
accent
#EC3B4A
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1B97

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

Preview Lab → · Contrast checker → · Palette generator →

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