#8B2587#8B2587

#8B2587 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.176 H 329.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8B2587
RGBrgb(139, 37, 135)
HSLhsl(302, 58%, 35%)
HSVhsv(302, 73%, 55%)
CMYKcmyk(0%, 73.4%, 2.9%, 45.5%)
CIE-LABlab(35.13, 53.86, -32.23)
CIE-LCHlch(35.13, 62.76, 329.10°)
OKLaboklab(46.4% 0.1521 -0.089)
OKLCHoklch(46.4% 0.176 329.7)
XYZxyz(15.6821, 8.5626, 23.7438)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2587 #258B29
analogous
#5C258B #8B2587 #8B2554
triadic
#8B2587 #878B25 #25878B
tetradic
#8B2587 #8B5C25 #258B29 #25548B
square
#8B2587 #8B5C25 #258B29 #25548B
split-complementary
#8B2587 #548B25 #258B5C
monochromatic
#2A0B29 #5B1858 #8B2587 #BB32B6 #D358CE

Accessibility & contrast

On white

7.74
#8B2587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8B2587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2587
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2587#FFFFFF#000000##FFFFFF
##8B25871.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#435784
Tritanopia (blue-blind)
#903354
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2587;
/* rgb */ color: rgb(139, 37, 135);
/* oklch */ color: oklch(46.4% 0.176 329.7);
Tailwind
colors: {
  custom: {
    50: '#b06aaa',
    500: '#8b2587',
    950: '#000000',
  },
}
SCSS
$custom: #8b2587;
$custom-light: #b06aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2587",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 302.353,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46396,
    "c": 0.17622,
    "h": 329.7
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#8B2587
secondary
#55B759
accent
#E14D47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2587

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

Preview Lab → · Contrast checker → · Palette generator →

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