#8B2486#8B2486

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

Color values

HEX#8B2486
RGBrgb(139, 36, 134)
HSLhsl(303, 59%, 34%)
HSVhsv(303, 74%, 55%)
CMYKcmyk(0%, 74.1%, 3.6%, 45.5%)
CIE-LABlab(34.95, 54.04, -31.89)
CIE-LCHlch(34.95, 62.75, 329.45°)
OKLaboklab(46.25% 0.1531 -0.088)
OKLCHoklch(46.25% 0.177 330.1)
XYZxyz(15.5813, 8.4732, 23.3645)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2486 #248B29
analogous
#5D248B #8B2486 #8B2453
triadic
#8B2486 #868B24 #24868B
tetradic
#8B2486 #8B5D24 #248B29 #24538B
square
#8B2486 #8B5D24 #248B29 #24538B
split-complementary
#8B2486 #538B24 #248B5D
monochromatic
#2A0B28 #5A1757 #8B2486 #BC31B5 #D356CD

Accessibility & contrast

On white

7.79
#8B2486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8B2486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2486
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2486#FFFFFF#000000##FFFFFF
##8B24861.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2486;
/* rgb */ color: rgb(139, 36, 134);
/* oklch */ color: oklch(46.3% 0.177 330.1);
Tailwind
colors: {
  custom: {
    50: '#b06aa9',
    500: '#8b2486',
    950: '#000000',
  },
}
SCSS
$custom: #8b2486;
$custom-light: #b06aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2486",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 302.913,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4625,
    "c": 0.17657,
    "h": 330.1
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#8B2486
secondary
#53B758
accent
#E24D46
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2486

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

Preview Lab → · Contrast checker → · Palette generator →

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