#8D167B#8D167B

#8D167B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.183 H 335.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8D167B
RGBrgb(141, 22, 123)
HSLhsl(309, 73%, 32%)
HSVhsv(309, 84%, 55%)
CMYKcmyk(0%, 84.4%, 12.8%, 44.7%)
CIE-LABlab(33.28, 56.86, -27.64)
CIE-LCHlch(33.28, 63.22, 334.08°)
OKLaboklab(44.93% 0.1667 -0.0756)
OKLCHoklch(44.93% 0.183 335.6)
XYZxyz(14.8468, 7.6680, 19.4332)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D167B #168D28
analogous
#64168D #8D167B #8D163F
triadic
#8D167B #7B8D16 #167B8D
tetradic
#8D167B #8D6416 #168D28 #163F8D
square
#8D167B #8D6416 #168D28 #163F8D
split-complementary
#8D167B #3F8D16 #168D64
monochromatic
#23051F #580E4D #8D167B #C21EA9 #E13DC8

Accessibility & contrast

On white

8.29
#8D167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8D167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D167B
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D167B#FFFFFF#000000##FFFFFF
##8D167B1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437E
Deuteranopia (green-blind)
#455478
Tritanopia (blue-blind)
#952249
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d167b;
/* rgb */ color: rgb(141, 22, 123);
/* oklch */ color: oklch(44.9% 0.183 335.6);
Tailwind
colors: {
  custom: {
    50: '#b265a1',
    500: '#8d167b',
    950: '#000000',
  },
}
SCSS
$custom: #8d167b;
$custom-light: #b265a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d167b",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 309.076,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44929,
    "c": 0.18306,
    "h": 335.6
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#8D167B
secondary
#3EC152
accent
#F05438
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8D167B

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

Preview Lab → · Contrast checker → · Palette generator →

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