#8D1B82#8D1B82

#8D1B82 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.184 H 332.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8D1B82
RGBrgb(141, 27, 130)
HSLhsl(306, 68%, 33%)
HSVhsv(306, 81%, 55%)
CMYKcmyk(0%, 80.9%, 7.8%, 44.7%)
CIE-LABlab(34.11, 56.64, -30.72)
CIE-LCHlch(34.11, 64.43, 331.53°)
OKLaboklab(45.64% 0.1632 -0.0845)
OKLCHoklch(45.64% 0.184 332.6)
XYZxyz(15.4058, 8.0596, 21.8590)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B82 #1B8D26
analogous
#5F1B8D #8D1B82 #8D1B49
triadic
#8D1B82 #828D1B #1B828D
tetradic
#8D1B82 #8D5F1B #1B8D26 #1B498D
square
#8D1B82 #8D5F1B #1B8D26 #1B498D
split-complementary
#8D1B82 #498D1B #1B8D5F
monochromatic
#260723 #5A1153 #8D1B82 #C025B1 #DC47CD

Accessibility & contrast

On white

8.04
#8D1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8D1B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B82
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B82#FFFFFF#000000##FFFFFF
##8D1B821.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134685
Deuteranopia (green-blind)
#43567F
Tritanopia (blue-blind)
#93294E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1b82;
/* rgb */ color: rgb(141, 27, 130);
/* oklch */ color: oklch(45.6% 0.184 332.6);
Tailwind
colors: {
  custom: {
    50: '#b267a7',
    500: '#8d1b82',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b82;
$custom-light: #b267a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b82",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 305.789,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45642,
    "c": 0.18378,
    "h": 332.6
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#8D1B82
secondary
#46BD52
accent
#EB4E3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1B82

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

Preview Lab → · Contrast checker → · Palette generator →

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