#8D1482#8D1482

#8D1482 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.189 H 332.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8D1482
RGBrgb(141, 20, 130)
HSLhsl(305, 75%, 32%)
HSVhsv(305, 86%, 55%)
CMYKcmyk(0%, 85.8%, 7.8%, 44.7%)
CIE-LABlab(33.51, 58.36, -31.66)
CIE-LCHlch(33.51, 66.40, 331.52°)
OKLaboklab(45.22% 0.1682 -0.0872)
OKLCHoklch(45.22% 0.189 332.6)
XYZxyz(15.2640, 7.7761, 21.8118)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1482 #148D1F
analogous
#5C148D #8D1482 #8D1445
triadic
#8D1482 #828D14 #14828D
tetradic
#8D1482 #8D5C14 #148D1F #14458D
square
#8D1482 #8D5C14 #148D1F #14458D
split-complementary
#8D1482 #458D14 #148D5C
monochromatic
#22051F #570C51 #8D1482 #C31CB3 #E339D3

Accessibility & contrast

On white

8.22
#8D1482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D1482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1482
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1482#FFFFFF#000000##FFFFFF
##8D14821.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074485
Deuteranopia (green-blind)
#41557F
Tritanopia (blue-blind)
#94254D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1482;
/* rgb */ color: rgb(141, 20, 130);
/* oklch */ color: oklch(45.2% 0.189 332.6);
Tailwind
colors: {
  custom: {
    50: '#b264a7',
    500: '#8d1482',
    950: '#000000',
  },
}
SCSS
$custom: #8d1482;
$custom-light: #b264a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1482",
  "rgb": {
    "r": 141,
    "g": 20,
    "b": 130
  },
  "hsl": {
    "h": 305.455,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45218,
    "c": 0.18948,
    "h": 332.6
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#8D1482
secondary
#3CC148
accent
#F24736
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D1482

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

Preview Lab → · Contrast checker → · Palette generator →

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