#8D2182#8D2182

#8D2182 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.178 H 332.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8D2182
RGBrgb(141, 33, 130)
HSLhsl(306, 62%, 34%)
HSVhsv(306, 77%, 55%)
CMYKcmyk(0%, 76.6%, 7.8%, 44.7%)
CIE-LABlab(34.73, 54.85, -29.74)
CIE-LCHlch(34.73, 62.39, 331.54°)
OKLaboklab(46.09% 0.158 -0.0817)
OKLCHoklch(46.09% 0.178 332.7)
XYZxyz(15.5577, 8.3634, 21.9097)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2182 #218D2C
analogous
#62218D #8D2182 #8D214C
triadic
#8D2182 #828D21 #21828D
tetradic
#8D2182 #8D6221 #218D2C #214C8D
square
#8D2182 #8D6221 #218D2C #214C8D
split-complementary
#8D2182 #4C8D21 #218D62
monochromatic
#2A0A27 #5B1554 #8D2182 #BF2DB0 #D652C9

Accessibility & contrast

On white

7.86
#8D2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2182
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2182#FFFFFF#000000##FFFFFF
##8D21821.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4885
Deuteranopia (green-blind)
#45577F
Tritanopia (blue-blind)
#932D50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2182;
/* rgb */ color: rgb(141, 33, 130);
/* oklch */ color: oklch(46.1% 0.178 332.7);
Tailwind
colors: {
  custom: {
    50: '#b269a6',
    500: '#8d2182',
    950: '#000000',
  },
}
SCSS
$custom: #8d2182;
$custom-light: #b269a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2182",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 306.111,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.17786,
    "h": 332.7
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#8D2182
secondary
#50BA5B
accent
#E55343
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D2182

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

Preview Lab → · Contrast checker → · Palette generator →

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