#8B2184#8B2184

#8B2184 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.178 H 331.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8B2184
RGBrgb(139, 33, 132)
HSLhsl(304, 62%, 34%)
HSVhsv(304, 76%, 55%)
CMYKcmyk(0%, 76.3%, 5%, 45.5%)
CIE-LABlab(34.49, 54.71, -31.39)
CIE-LCHlch(34.49, 63.08, 330.16°)
OKLaboklab(45.88% 0.1559 -0.0865)
OKLCHoklch(45.88% 0.178 331)
XYZxyz(15.3562, 8.2439, 22.6078)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2184 #218B28
analogous
#5D218B #8B2184 #8B214F
triadic
#8B2184 #848B21 #21848B
tetradic
#8B2184 #8B5D21 #218B28 #214F8B
square
#8B2184 #8B5D21 #218B28 #214F8B
split-complementary
#8B2184 #4F8B21 #218B5D
monochromatic
#280A26 #5A1555 #8B2184 #BC2DB3 #D651CD

Accessibility & contrast

On white

7.93
#8B2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8B2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2184
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2184#FFFFFF#000000##FFFFFF
##8B21841.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164887
Deuteranopia (green-blind)
#435681
Tritanopia (blue-blind)
#912F51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2184;
/* rgb */ color: rgb(139, 33, 132);
/* oklch */ color: oklch(45.9% 0.178 331.0);
Tailwind
colors: {
  custom: {
    50: '#b069a8',
    500: '#8b2184',
    950: '#000000',
  },
}
SCSS
$custom: #8b2184;
$custom-light: #b069a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2184",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 303.962,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45881,
    "c": 0.17831,
    "h": 331
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#8B2184
secondary
#4FB956
accent
#E54E43
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2184

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

Preview Lab → · Contrast checker → · Palette generator →

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