#8B2084#8B2084

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

Color values

HEX#8B2084
RGBrgb(139, 32, 132)
HSLhsl(304, 63%, 34%)
HSVhsv(304, 77%, 55%)
CMYKcmyk(0%, 77%, 5%, 45.5%)
CIE-LABlab(34.37, 55.03, -31.56)
CIE-LCHlch(34.37, 63.44, 330.16°)
OKLaboklab(45.8% 0.1568 -0.087)
OKLCHoklch(45.8% 0.179 331)
XYZxyz(15.3288, 8.1892, 22.5986)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2084 #208B27
analogous
#5C208B #8B2084 #8B204E
triadic
#8B2084 #848B20 #20848B
tetradic
#8B2084 #8B5C20 #208B27 #204E8B
square
#8B2084 #8B5C20 #208B27 #204E8B
split-complementary
#8B2084 #4E8B20 #208B5C
monochromatic
#280926 #591555 #8B2084 #BD2BB3 #D64FCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2084#FFFFFF#000000##FFFFFF
##8B20841.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)
#154787
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#912E51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2084;
/* rgb */ color: rgb(139, 32, 132);
/* oklch */ color: oklch(45.8% 0.179 331.0);
Tailwind
colors: {
  custom: {
    50: '#b068a8',
    500: '#8b2084',
    950: '#000000',
  },
}
SCSS
$custom: #8b2084;
$custom-light: #b068a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2084",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 303.925,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45801,
    "c": 0.17937,
    "h": 331
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#8B2084
secondary
#4DBA54
accent
#E64D42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2084

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

Preview Lab → · Contrast checker → · Palette generator →

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