#8D2187#8D2187

#8D2187 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.182 H 330.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8D2187
RGBrgb(141, 33, 135)
HSLhsl(303, 62%, 34%)
HSVhsv(303, 77%, 55%)
CMYKcmyk(0%, 76.6%, 4.3%, 44.7%)
CIE-LABlab(35.01, 55.66, -32.40)
CIE-LCHlch(35.01, 64.40, 329.79°)
OKLaboklab(46.38% 0.1581 -0.0894)
OKLCHoklch(46.38% 0.182 330.5)
XYZxyz(15.9015, 8.5010, 23.7203)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2187 #218D27
analogous
#5D218D #8D2187 #8D2151
triadic
#8D2187 #878D21 #21878D
tetradic
#8D2187 #8D5D21 #218D27 #21518D
square
#8D2187 #8D5D21 #218D27 #21518D
split-complementary
#8D2187 #518D21 #218D5D
monochromatic
#2A0A28 #5B1558 #8D2187 #BF2DB6 #D652CF

Accessibility & contrast

On white

7.78
#8D2187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8D2187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2187
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2187#FFFFFF#000000##FFFFFF
##8D21871.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498A
Deuteranopia (green-blind)
#435784
Tritanopia (blue-blind)
#933052
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2187;
/* rgb */ color: rgb(141, 33, 135);
/* oklch */ color: oklch(46.4% 0.182 330.5);
Tailwind
colors: {
  custom: {
    50: '#b269aa',
    500: '#8d2187',
    950: '#000000',
  },
}
SCSS
$custom: #8d2187;
$custom-light: #b269aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2187",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 303.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46375,
    "c": 0.18166,
    "h": 330.5
  },
  "luminance": 0.085
}

Semantic roles & 50–950 ramp

primary
#8D2187
secondary
#50BA56
accent
#E54C43
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2187

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

Preview Lab → · Contrast checker → · Palette generator →

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