#8D1B87#8D1B87

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

Color values

HEX#8D1B87
RGBrgb(141, 27, 135)
HSLhsl(303, 68%, 33%)
HSVhsv(303, 81%, 55%)
CMYKcmyk(0%, 80.9%, 4.3%, 44.7%)
CIE-LABlab(34.39, 57.43, -33.38)
CIE-LCHlch(34.39, 66.43, 329.84°)
OKLaboklab(45.94% 0.1632 -0.0922)
OKLCHoklch(45.94% 0.187 330.5)
XYZxyz(15.7496, 8.1971, 23.6697)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B87 #1B8D21
analogous
#5A1B8D #8D1B87 #8D1B4E
triadic
#8D1B87 #878D1B #1B878D
tetradic
#8D1B87 #8D5A1B #1B8D21 #1B4E8D
square
#8D1B87 #8D5A1B #1B8D21 #1B4E8D
split-complementary
#8D1B87 #4E8D1B #1B8D5A
monochromatic
#260725 #5A1156 #8D1B87 #C025B8 #DC47D4

Accessibility & contrast

On white

7.96
#8D1B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D1B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B87
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B87#FFFFFF#000000##FFFFFF
##8D1B871.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08478A
Deuteranopia (green-blind)
#405684
Tritanopia (blue-blind)
#932C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1b87;
/* rgb */ color: rgb(141, 27, 135);
/* oklch */ color: oklch(45.9% 0.187 330.5);
Tailwind
colors: {
  custom: {
    50: '#b267aa',
    500: '#8d1b87',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b87;
$custom-light: #b267aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b87",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 303.158,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45936,
    "c": 0.18747,
    "h": 330.5
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#8D1B87
secondary
#46BD4D
accent
#EB463D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1B87

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

Preview Lab → · Contrast checker → · Palette generator →

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