#8D2786#8D2786

#8D2786 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.174 H 330.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8D2786
RGBrgb(141, 39, 134)
HSLhsl(304, 57%, 35%)
HSVhsv(304, 72%, 55%)
CMYKcmyk(0%, 72.3%, 5%, 44.7%)
CIE-LABlab(35.67, 53.45, -30.74)
CIE-LCHlch(35.67, 61.66, 330.10°)
OKLaboklab(46.83% 0.1522 -0.0846)
OKLCHoklch(46.83% 0.174 330.9)
XYZxyz(16.0131, 8.8362, 23.4118)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2786 #278D2E
analogous
#61278D #8D2786 #8D2753
triadic
#8D2786 #868D27 #27868D
tetradic
#8D2786 #8D6127 #278D2E #27538D
square
#8D2786 #8D6127 #278D2E #27538D
split-complementary
#8D2786 #538D27 #278D61
monochromatic
#2D0C2B #5D1A58 #8D2786 #BD34B4 #D25CCA

Accessibility & contrast

On white

7.59
#8D2786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8D2786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2786
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2786#FFFFFF#000000##FFFFFF
##8D27861.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#465983
Tritanopia (blue-blind)
#933354
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2786;
/* rgb */ color: rgb(141, 39, 134);
/* oklch */ color: oklch(46.8% 0.174 330.9);
Tailwind
colors: {
  custom: {
    50: '#b26ba9',
    500: '#8d2786',
    950: '#000000',
  },
}
SCSS
$custom: #8d2786;
$custom-light: #b26ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2786",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 304.118,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46832,
    "c": 0.17416,
    "h": 330.9
  },
  "luminance": 0.08835
}

Semantic roles & 50–950 ramp

primary
#8D2786
secondary
#59B75F
accent
#E05248
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2786

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

Preview Lab → · Contrast checker → · Palette generator →

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