#8B2D82#8B2D82

#8B2D82 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.9% C 0.162 H 331.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8B2D82
RGBrgb(139, 45, 130)
HSLhsl(306, 51%, 36%)
HSVhsv(306, 68%, 55%)
CMYKcmyk(0%, 67.6%, 6.5%, 45.5%)
CIE-LABlab(35.94, 49.95, -27.85)
CIE-LCHlch(35.94, 57.19, 330.86°)
OKLaboklab(46.9% 0.143 -0.0764)
OKLCHoklch(46.9% 0.162 331.9)
XYZxyz(15.6151, 8.9786, 22.0254)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D82 #2D8B36
analogous
#652D8B #8B2D82 #8B2D53
triadic
#8B2D82 #828B2D #2D828B
tetradic
#8B2D82 #8B652D #2D8B36 #2D538B
square
#8B2D82 #8B652D #2D8B36 #2D538B
split-complementary
#8B2D82 #538B2D #2D8B65
monochromatic
#2F0F2C #5D1E57 #8B2D82 #B93CAD #CD65C3

Accessibility & contrast

On white

7.51
#8B2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8B2D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D82
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D82#FFFFFF#000000##FFFFFF
##8B2D821.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#495980
Tritanopia (blue-blind)
#913653
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2d82;
/* rgb */ color: rgb(139, 45, 130);
/* oklch */ color: oklch(46.9% 0.162 331.9);
Tailwind
colors: {
  custom: {
    50: '#b06ea6',
    500: '#8b2d82',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d82;
$custom-light: #b06ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d82",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 305.745,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46897,
    "c": 0.16212,
    "h": 331.9
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#8B2D82
secondary
#60B468
accent
#DB5B4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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