#8D167C#8D167C

#8D167C is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.184 H 335.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8D167C
RGBrgb(141, 22, 124)
HSLhsl(309, 73%, 32%)
HSVhsv(309, 84%, 55%)
CMYKcmyk(0%, 84.4%, 12.1%, 44.7%)
CIE-LABlab(33.34, 57.00, -28.18)
CIE-LCHlch(33.34, 63.59, 333.69°)
OKLaboklab(44.99% 0.1668 -0.0771)
OKLCHoklch(44.99% 0.184 335.2)
XYZxyz(14.9097, 7.6932, 19.7646)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D167C #168D27
analogous
#62168D #8D167C #8D1641
triadic
#8D167C #7C8D16 #167C8D
tetradic
#8D167C #8D6216 #168D27 #16418D
square
#8D167C #8D6216 #168D27 #16418D
split-complementary
#8D167C #418D16 #168D62
monochromatic
#23051F #580E4D #8D167C #C21EAB #E13DC9

Accessibility & contrast

On white

8.27
#8D167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8D167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D167C
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D167C#FFFFFF#000000##FFFFFF
##8D167C1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437F
Deuteranopia (green-blind)
#455479
Tritanopia (blue-blind)
#94224A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d167c;
/* rgb */ color: rgb(141, 22, 124);
/* oklch */ color: oklch(45.0% 0.184 335.2);
Tailwind
colors: {
  custom: {
    50: '#b265a2',
    500: '#8d167c',
    950: '#000000',
  },
}
SCSS
$custom: #8d167c;
$custom-light: #b265a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d167c",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 308.571,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44985,
    "c": 0.18375,
    "h": 335.2
  },
  "luminance": 0.07692
}

Semantic roles & 50–950 ramp

primary
#8D167C
secondary
#3EC151
accent
#F05238
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D167C

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

Preview Lab → · Contrast checker → · Palette generator →

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