#8D2787#8D2787

#8D2787 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.175 H 330.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8D2787
RGBrgb(141, 39, 135)
HSLhsl(304, 57%, 35%)
HSVhsv(304, 72%, 55%)
CMYKcmyk(0%, 72.3%, 4.3%, 44.7%)
CIE-LABlab(35.72, 53.62, -31.27)
CIE-LCHlch(35.72, 62.07, 329.75°)
OKLaboklab(46.89% 0.1523 -0.0862)
OKLCHoklch(46.89% 0.175 330.5)
XYZxyz(16.0831, 8.8643, 23.7809)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2787 #278D2D
analogous
#60278D #8D2787 #8D2754
triadic
#8D2787 #878D27 #27878D
tetradic
#8D2787 #8D6027 #278D2D #27548D
square
#8D2787 #8D6027 #278D2D #27548D
split-complementary
#8D2787 #548D27 #278D60
monochromatic
#2D0C2B #5D1A59 #8D2787 #BD34B5 #D25CCB

Accessibility & contrast

On white

7.57
#8D2787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2787
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2787#FFFFFF#000000##FFFFFF
##8D27871.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B8A
Deuteranopia (green-blind)
#455984
Tritanopia (blue-blind)
#923454
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2787;
/* rgb */ color: rgb(141, 39, 135);
/* oklch */ color: oklch(46.9% 0.175 330.5);
Tailwind
colors: {
  custom: {
    50: '#b26baa',
    500: '#8d2787',
    950: '#000000',
  },
}
SCSS
$custom: #8d2787;
$custom-light: #b26baa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2787",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 303.529,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46889,
    "c": 0.17495,
    "h": 330.5
  },
  "luminance": 0.08863
}

Semantic roles & 50–950 ramp

primary
#8D2787
secondary
#59B75E
accent
#E05148
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2787

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

Preview Lab → · Contrast checker → · Palette generator →

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