#8D1B86#8D1B86

#8D1B86 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.187 H 331.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8D1B86
RGBrgb(141, 27, 134)
HSLhsl(304, 68%, 33%)
HSVhsv(304, 81%, 55%)
CMYKcmyk(0%, 80.9%, 5%, 44.7%)
CIE-LABlab(34.33, 57.27, -32.85)
CIE-LCHlch(34.33, 66.02, 330.16°)
OKLaboklab(45.88% 0.1632 -0.0907)
OKLCHoklch(45.88% 0.187 331)
XYZxyz(15.6795, 8.1691, 23.3006)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B86 #1B8D22
analogous
#5B1B8D #8D1B86 #8D1B4D
triadic
#8D1B86 #868D1B #1B868D
tetradic
#8D1B86 #8D5B1B #1B8D22 #1B4D8D
square
#8D1B86 #8D5B1B #1B8D22 #1B4D8D
split-complementary
#8D1B86 #4D8D1B #1B8D5B
monochromatic
#260724 #5A1155 #8D1B86 #C025B7 #DC47D3

Accessibility & contrast

On white

7.97
#8D1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B86
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B86#FFFFFF#000000##FFFFFF
##8D1B861.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4789
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#932B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1b86;
/* rgb */ color: rgb(141, 27, 134);
/* oklch */ color: oklch(45.9% 0.187 331.0);
Tailwind
colors: {
  custom: {
    50: '#b267a9',
    500: '#8d1b86',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b86;
$custom-light: #b267a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b86",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 303.684,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45876,
    "c": 0.18673,
    "h": 331
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#8D1B86
secondary
#46BD4E
accent
#EB483D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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