#8D2A82#8D2A82

#8D2A82 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.167 H 332.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8D2A82
RGBrgb(141, 42, 130)
HSLhsl(307, 54%, 36%)
HSVhsv(307, 70%, 55%)
CMYKcmyk(0%, 70.2%, 7.8%, 44.7%)
CIE-LABlab(35.85, 51.66, -27.97)
CIE-LCHlch(35.85, 58.75, 331.57°)
OKLaboklab(46.9% 0.1487 -0.0767)
OKLCHoklch(46.9% 0.167 332.7)
XYZxyz(15.8418, 8.9316, 22.0044)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A82 #2A8D35
analogous
#662A8D #8D2A82 #8D2A50
triadic
#8D2A82 #828D2A #2A828D
tetradic
#8D2A82 #8D662A #2A8D35 #2A508D
square
#8D2A82 #8D662A #2A8D35 #2A508D
split-complementary
#8D2A82 #508D2A #2A8D66
monochromatic
#2F0E2B #5E1C57 #8D2A82 #BC38AD #D061C4

Accessibility & contrast

On white

7.54
#8D2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8D2A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A82
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A82#FFFFFF#000000##FFFFFF
##8D2A821.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B85
Deuteranopia (green-blind)
#495980
Tritanopia (blue-blind)
#933352
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2a82;
/* rgb */ color: rgb(141, 42, 130);
/* oklch */ color: oklch(46.9% 0.167 332.7);
Tailwind
colors: {
  custom: {
    50: '#b16da6',
    500: '#8d2a82',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a82;
$custom-light: #b16da6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a82",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 306.667,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.16728,
    "h": 332.7
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#8D2A82
secondary
#5DB667
accent
#DD5B4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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