#8D1C97#8D1C97

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

Color values

HEX#8D1C97
RGBrgb(141, 28, 151)
HSLhsl(295, 69%, 35%)
HSVhsv(295, 81%, 59%)
CMYKcmyk(6.6%, 81.5%, 0%, 40.8%)
CIE-LABlab(35.46, 59.84, -41.51)
CIE-LCHlch(35.46, 72.83, 325.25°)
OKLaboklab(47.01% 0.1616 -0.1159)
OKLCHoklch(47.01% 0.199 324.4)
XYZxyz(16.9852, 8.7287, 30.0623)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C97 #26971C
analogous
#501C97 #8D1C97 #971C63
triadic
#8D1C97 #978D1C #1C978D
tetradic
#8D1C97 #97501C #26971C #1C6397
square
#8D1C97 #97501C #26971C #1C6397
split-complementary
#8D1C97 #63971C #1C9750
monochromatic
#2D0930 #5D1263 #8D1C97 #BD26CB #D34FDE

Accessibility & contrast

On white

7.65
#8D1C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8D1C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C97
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C97#FFFFFF#000000##FFFFFF
##8D1C971.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.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: #8d1c97;
/* rgb */ color: rgb(141, 28, 151);
/* oklch */ color: oklch(47.0% 0.199 324.4);
Tailwind
colors: {
  custom: {
    50: '#b268b6',
    500: '#8d1c97',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c97;
$custom-light: #b268b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c97",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 295.122,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47005,
    "c": 0.1989,
    "h": 324.4
  },
  "luminance": 0.08728
}

Semantic roles & 50–950 ramp

primary
#8D1C97
secondary
#57C14E
accent
#EC3C4A
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1C97

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

Preview Lab → · Contrast checker → · Palette generator →

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