#8D1B84#8D1B84

#8D1B84 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.185 H 331.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8D1B84
RGBrgb(141, 27, 132)
HSLhsl(305, 68%, 33%)
HSVhsv(305, 81%, 55%)
CMYKcmyk(0%, 80.9%, 6.4%, 44.7%)
CIE-LABlab(34.22, 56.95, -31.79)
CIE-LCHlch(34.22, 65.22, 330.83°)
OKLaboklab(45.76% 0.1632 -0.0876)
OKLCHoklch(45.76% 0.185 331.8)
XYZxyz(15.5413, 8.1138, 22.5729)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B84 #1B8D24
analogous
#5D1B8D #8D1B84 #8D1B4B
triadic
#8D1B84 #848D1B #1B848D
tetradic
#8D1B84 #8D5D1B #1B8D24 #1B4B8D
square
#8D1B84 #8D5D1B #1B8D24 #1B4B8D
split-complementary
#8D1B84 #4B8D1B #1B8D5D
monochromatic
#260724 #5A1154 #8D1B84 #C025B4 #DC47D0

Accessibility & contrast

On white

8.01
#8D1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8D1B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B84
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B84#FFFFFF#000000##FFFFFF
##8D1B841.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4687
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#932A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1b84;
/* rgb */ color: rgb(141, 27, 132);
/* oklch */ color: oklch(45.8% 0.185 331.8);
Tailwind
colors: {
  custom: {
    50: '#b267a8',
    500: '#8d1b84',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b84;
$custom-light: #b267a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b84",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 304.737,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.18525,
    "h": 331.8
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#8D1B84
secondary
#46BD50
accent
#EB4B3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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