#8D1A82#8D1A82

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

Color values

HEX#8D1A82
RGBrgb(141, 26, 130)
HSLhsl(306, 69%, 33%)
HSVhsv(306, 82%, 55%)
CMYKcmyk(0%, 81.6%, 7.8%, 44.7%)
CIE-LABlab(34.01, 56.91, -30.87)
CIE-LCHlch(34.01, 64.74, 331.53°)
OKLaboklab(45.58% 0.164 -0.0849)
OKLCHoklch(45.58% 0.185 332.6)
XYZxyz(15.3832, 8.0145, 21.8515)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A82 #1A8D25
analogous
#5E1A8D #8D1A82 #8D1A49
triadic
#8D1A82 #828D1A #1A828D
tetradic
#8D1A82 #8D5E1A #1A8D25 #1A498D
square
#8D1A82 #8D5E1A #1A8D25 #1A498D
split-complementary
#8D1A82 #498D1A #1A8D5E
monochromatic
#260723 #591052 #8D1A82 #C124B2 #DD45CE

Accessibility & contrast

On white

8.07
#8D1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8D1A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A82
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A82#FFFFFF#000000##FFFFFF
##8D1A821.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1a82;
/* rgb */ color: rgb(141, 26, 130);
/* oklch */ color: oklch(45.6% 0.185 332.6);
Tailwind
colors: {
  custom: {
    50: '#b266a7',
    500: '#8d1a82',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a82;
$custom-light: #b266a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a82",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 305.739,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.18467,
    "h": 332.6
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#8D1A82
secondary
#45BE50
accent
#EC4D3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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