#8B2182#8B2182

#8B2182 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.177 H 331.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8B2182
RGBrgb(139, 33, 130)
HSLhsl(305, 62%, 34%)
HSVhsv(305, 76%, 55%)
CMYKcmyk(0%, 76.3%, 6.5%, 45.5%)
CIE-LABlab(34.37, 54.39, -30.32)
CIE-LCHlch(34.37, 62.27, 330.86°)
OKLaboklab(45.77% 0.1558 -0.0834)
OKLCHoklch(45.77% 0.177 331.8)
XYZxyz(15.2206, 8.1896, 21.8939)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2182 #218B2A
analogous
#5F218B #8B2182 #8B214D
triadic
#8B2182 #828B21 #21828B
tetradic
#8B2182 #8B5F21 #218B2A #214D8B
square
#8B2182 #8B5F21 #218B2A #214D8B
split-complementary
#8B2182 #4D8B21 #218B5F
monochromatic
#280A25 #5A1554 #8B2182 #BC2DB0 #D651CA

Accessibility & contrast

On white

7.96
#8B2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8B2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2182
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2182#FFFFFF#000000##FFFFFF
##8B21821.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194785
Deuteranopia (green-blind)
#44567F
Tritanopia (blue-blind)
#912E50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2182;
/* rgb */ color: rgb(139, 33, 130);
/* oklch */ color: oklch(45.8% 0.177 331.8);
Tailwind
colors: {
  custom: {
    50: '#b068a6',
    500: '#8b2182',
    950: '#000000',
  },
}
SCSS
$custom: #8b2182;
$custom-light: #b068a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2182",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 305.094,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45766,
    "c": 0.17678,
    "h": 331.8
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#8B2182
secondary
#4FB958
accent
#E55143
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2182

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

Preview Lab → · Contrast checker → · Palette generator →

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