#8B2586#8B2586

#8B2586 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.175 H 330.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8B2586
RGBrgb(139, 37, 134)
HSLhsl(303, 58%, 35%)
HSVhsv(303, 73%, 55%)
CMYKcmyk(0%, 73.4%, 3.6%, 45.5%)
CIE-LABlab(35.07, 53.69, -31.70)
CIE-LCHlch(35.07, 62.35, 329.44°)
OKLaboklab(46.34% 0.1521 -0.0875)
OKLCHoklch(46.34% 0.175 330.1)
XYZxyz(15.6120, 8.5345, 23.3747)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2586 #258B2A
analogous
#5D258B #8B2586 #8B2553
triadic
#8B2586 #868B25 #25868B
tetradic
#8B2586 #8B5D25 #258B2A #25538B
square
#8B2586 #8B5D25 #258B2A #25538B
split-complementary
#8B2586 #538B25 #258B5D
monochromatic
#2A0B29 #5B1857 #8B2586 #BB32B5 #D358CD

Accessibility & contrast

On white

7.76
#8B2586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2586
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2586#FFFFFF#000000##FFFFFF
##8B25861.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A89
Deuteranopia (green-blind)
#435783
Tritanopia (blue-blind)
#903253
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2586;
/* rgb */ color: rgb(139, 37, 134);
/* oklch */ color: oklch(46.3% 0.175 330.1);
Tailwind
colors: {
  custom: {
    50: '#b06aa9',
    500: '#8b2586',
    950: '#000000',
  },
}
SCSS
$custom: #8b2586;
$custom-light: #b06aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2586",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 302.941,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46338,
    "c": 0.17542,
    "h": 330.1
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#8B2586
secondary
#55B75A
accent
#E14E47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2586

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

Preview Lab → · Contrast checker → · Palette generator →

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