#8D2586#8D2586

#8D2586 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.176 H 330.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8D2586
RGBrgb(141, 37, 134)
HSLhsl(304, 58%, 35%)
HSVhsv(304, 74%, 55%)
CMYKcmyk(0%, 73.8%, 5%, 44.7%)
CIE-LABlab(35.42, 54.16, -31.13)
CIE-LCHlch(35.42, 62.47, 330.11°)
OKLaboklab(46.65% 0.1543 -0.0858)
OKLCHoklch(46.65% 0.177 330.9)
XYZxyz(15.9491, 8.7083, 23.3905)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2586 #258D2C
analogous
#60258D #8D2586 #8D2552
triadic
#8D2586 #868D25 #25868D
tetradic
#8D2586 #8D6025 #258D2C #25528D
square
#8D2586 #8D6025 #258D2C #25528D
split-complementary
#8D2586 #528D25 #258D60
monochromatic
#2C0C2A #5D1858 #8D2586 #BD32B4 #D359CB

Accessibility & contrast

On white

7.66
#8D2586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2586
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2586#FFFFFF#000000##FFFFFF
##8D25861.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A89
Deuteranopia (green-blind)
#455883
Tritanopia (blue-blind)
#933253
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2586;
/* rgb */ color: rgb(141, 37, 134);
/* oklch */ color: oklch(46.7% 0.176 330.9);
Tailwind
colors: {
  custom: {
    50: '#b26ba9',
    500: '#8d2586',
    950: '#000000',
  },
}
SCSS
$custom: #8d2586;
$custom-light: #b26ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2586",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 304.038,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46652,
    "c": 0.1765,
    "h": 330.9
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#8D2586
secondary
#56B85C
accent
#E25146
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2586

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

Preview Lab → · Contrast checker → · Palette generator →

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