#8D1687#8D1687

#8D1687 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.192 H 330.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8D1687
RGBrgb(141, 22, 135)
HSLhsl(303, 73%, 32%)
HSVhsv(303, 84%, 55%)
CMYKcmyk(0%, 84.4%, 4.3%, 44.7%)
CIE-LABlab(33.96, 58.69, -34.07)
CIE-LCHlch(33.96, 67.86, 329.87°)
OKLaboklab(45.63% 0.1669 -0.0942)
OKLCHoklch(45.63% 0.192 330.6)
XYZxyz(15.6446, 7.9871, 23.6347)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1687 #168D1C
analogous
#58168D #8D1687 #8D164C
triadic
#8D1687 #878D16 #16878D
tetradic
#8D1687 #8D5816 #168D1C #164C8D
square
#8D1687 #8D5816 #168D1C #164C8D
split-complementary
#8D1687 #4C8D16 #168D58
monochromatic
#230522 #580E54 #8D1687 #C21EBA #E13DD8

Accessibility & contrast

On white

8.09
#8D1687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8D1687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1687
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1687#FFFFFF#000000##FFFFFF
##8D16871.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#3F5584
Tritanopia (blue-blind)
#932950
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1687;
/* rgb */ color: rgb(141, 22, 135);
/* oklch */ color: oklch(45.6% 0.192 330.6);
Tailwind
colors: {
  custom: {
    50: '#b265aa',
    500: '#8d1687',
    950: '#000000',
  },
}
SCSS
$custom: #8d1687;
$custom-light: #b265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1687",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 303.025,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45627,
    "c": 0.1916,
    "h": 330.6
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#8D1687
secondary
#3EC145
accent
#F04138
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1687

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

Preview Lab → · Contrast checker → · Palette generator →

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