#8B2982#8B2982

#8B2982 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.167 H 331.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8B2982
RGBrgb(139, 41, 130)
HSLhsl(306, 54%, 35%)
HSVhsv(306, 71%, 55%)
CMYKcmyk(0%, 70.5%, 6.5%, 45.5%)
CIE-LABlab(35.38, 51.54, -28.74)
CIE-LCHlch(35.38, 59.01, 330.86°)
OKLaboklab(46.49% 0.1476 -0.0789)
OKLCHoklch(46.49% 0.167 331.9)
XYZxyz(15.4697, 8.6878, 21.9769)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2982 #298B32
analogous
#63298B #8B2982 #8B2951
triadic
#8B2982 #828B29 #29828B
tetradic
#8B2982 #8B6329 #298B32 #29518B
square
#8B2982 #8B6329 #298B32 #29518B
split-complementary
#8B2982 #518B29 #298B63
monochromatic
#2C0D2A #5C1B56 #8B2982 #BA37AE #D05FC5

Accessibility & contrast

On white

7.67
#8B2982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8B2982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2982
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2982#FFFFFF#000000##FFFFFF
##8B29821.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A85
Deuteranopia (green-blind)
#475880
Tritanopia (blue-blind)
#913352
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2982;
/* rgb */ color: rgb(139, 41, 130);
/* oklch */ color: oklch(46.5% 0.167 331.9);
Tailwind
colors: {
  custom: {
    50: '#b06ca6',
    500: '#8b2982',
    950: '#000000',
  },
}
SCSS
$custom: #8b2982;
$custom-light: #b06ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2982",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 305.51,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.16738,
    "h": 331.9
  },
  "luminance": 0.08687
}

Semantic roles & 50–950 ramp

primary
#8B2982
secondary
#5BB563
accent
#DE584A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2982

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

Preview Lab → · Contrast checker → · Palette generator →

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