#8D2486#8D2486

#8D2486 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.178 H 330.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8D2486
RGBrgb(141, 36, 134)
HSLhsl(304, 59%, 35%)
HSVhsv(304, 74%, 55%)
CMYKcmyk(0%, 74.5%, 5%, 44.7%)
CIE-LABlab(35.30, 54.51, -31.32)
CIE-LCHlch(35.30, 62.87, 330.11°)
OKLaboklab(46.57% 0.1553 -0.0863)
OKLCHoklch(46.57% 0.178 330.9)
XYZxyz(15.9184, 8.6470, 23.3803)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2486 #248D2B
analogous
#60248D #8D2486 #8D2452
triadic
#8D2486 #868D24 #24868D
tetradic
#8D2486 #8D6024 #248D2B #24528D
square
#8D2486 #8D6024 #248D2B #24528D
split-complementary
#8D2486 #528D24 #248D60
monochromatic
#2B0B29 #5C1858 #8D2486 #BE30B4 #D457CC

Accessibility & contrast

On white

7.69
#8D2486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8D2486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2486
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2486#FFFFFF#000000##FFFFFF
##8D24861.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2486;
/* rgb */ color: rgb(141, 36, 134);
/* oklch */ color: oklch(46.6% 0.178 330.9);
Tailwind
colors: {
  custom: {
    50: '#b26aa9',
    500: '#8d2486',
    950: '#000000',
  },
}
SCSS
$custom: #8d2486;
$custom-light: #b26aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2486",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 304,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46565,
    "c": 0.17763,
    "h": 330.9
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#8D2486
secondary
#54B85B
accent
#E35045
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2486

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

Preview Lab → · Contrast checker → · Palette generator →

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