#8D167D#8D167D

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

Color values

HEX#8D167D
RGBrgb(141, 22, 125)
HSLhsl(308, 73%, 32%)
HSVhsv(308, 84%, 55%)
CMYKcmyk(0%, 84.4%, 11.3%, 44.7%)
CIE-LABlab(33.39, 57.15, -28.72)
CIE-LCHlch(33.39, 63.97, 333.32°)
OKLaboklab(45.04% 0.1668 -0.0787)
OKLCHoklch(45.04% 0.184 334.7)
XYZxyz(14.9733, 7.7186, 20.0993)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D167D #168D26
analogous
#62168D #8D167D #8D1642
triadic
#8D167D #7D8D16 #167D8D
tetradic
#8D167D #8D6216 #168D26 #16428D
square
#8D167D #8D6216 #168D26 #16428D
split-complementary
#8D167D #428D16 #168D62
monochromatic
#23051F #580E4E #8D167D #C21EAC #E13DCB

Accessibility & contrast

On white

8.26
#8D167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D167D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D167D#FFFFFF#000000##FFFFFF
##8D167D1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144480
Deuteranopia (green-blind)
#44547A
Tritanopia (blue-blind)
#94234A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d167d;
/* rgb */ color: rgb(141, 22, 125);
/* oklch */ color: oklch(45.0% 0.184 334.7);
Tailwind
colors: {
  custom: {
    50: '#b265a3',
    500: '#8d167d',
    950: '#000000',
  },
}
SCSS
$custom: #8d167d;
$custom-light: #b265a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d167d",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 308.067,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45041,
    "c": 0.18445,
    "h": 334.7
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#8D167D
secondary
#3EC150
accent
#F05138
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D167D

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

Preview Lab → · Contrast checker → · Palette generator →

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