#8D2386#8D2386

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

Color values

HEX#8D2386
RGBrgb(141, 35, 134)
HSLhsl(304, 60%, 35%)
HSVhsv(304, 75%, 55%)
CMYKcmyk(0%, 75.2%, 5%, 44.7%)
CIE-LABlab(35.18, 54.84, -31.51)
CIE-LCHlch(35.18, 63.25, 330.12°)
OKLaboklab(46.48% 0.1562 -0.0868)
OKLCHoklch(46.48% 0.179 330.9)
XYZxyz(15.8886, 8.5873, 23.3703)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2386 #238D2A
analogous
#5F238D #8D2386 #8D2351
triadic
#8D2386 #868D23 #23868D
tetradic
#8D2386 #8D5F23 #238D2A #23518D
square
#8D2386 #8D5F23 #238D2A #23518D
split-complementary
#8D2386 #518D23 #238D5F
monochromatic
#2B0B29 #5C1757 #8D2386 #BE2FB5 #D555CD

Accessibility & contrast

On white

7.73
#8D2386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8D2386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2386
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2386#FFFFFF#000000##FFFFFF
##8D23861.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184989
Deuteranopia (green-blind)
#445883
Tritanopia (blue-blind)
#933052
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2386;
/* rgb */ color: rgb(141, 35, 134);
/* oklch */ color: oklch(46.5% 0.179 330.9);
Tailwind
colors: {
  custom: {
    50: '#b26aa9',
    500: '#8d2386',
    950: '#000000',
  },
}
SCSS
$custom: #8d2386;
$custom-light: #b26aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2386",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 303.962,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4648,
    "c": 0.17875,
    "h": 330.9
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#8D2386
secondary
#53B95A
accent
#E34F44
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2386

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

Preview Lab → · Contrast checker → · Palette generator →

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