#8D167F#8D167F

#8D167F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.186 H 333.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8D167F
RGBrgb(141, 22, 127)
HSLhsl(307, 73%, 32%)
HSVhsv(307, 84%, 55%)
CMYKcmyk(0%, 84.4%, 9.9%, 44.7%)
CIE-LABlab(33.50, 57.45, -29.80)
CIE-LCHlch(33.50, 64.72, 332.58°)
OKLaboklab(45.16% 0.1669 -0.0818)
OKLCHoklch(45.16% 0.186 333.9)
XYZxyz(15.1023, 7.7702, 20.7790)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D167F #168D24
analogous
#60168D #8D167F #8D1644
triadic
#8D167F #7F8D16 #167F8D
tetradic
#8D167F #8D6016 #168D24 #16448D
square
#8D167F #8D6016 #168D24 #16448D
split-complementary
#8D167F #448D16 #168D60
monochromatic
#230520 #580E4F #8D167F #C21EAF #E13DCD

Accessibility & contrast

On white

8.22
#8D167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D167F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D167F#FFFFFF#000000##FFFFFF
##8D167F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114482
Deuteranopia (green-blind)
#43557C
Tritanopia (blue-blind)
#94244B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d167f;
/* rgb */ color: rgb(141, 22, 127);
/* oklch */ color: oklch(45.2% 0.186 333.9);
Tailwind
colors: {
  custom: {
    50: '#b265a4',
    500: '#8d167f',
    950: '#000000',
  },
}
SCSS
$custom: #8d167f;
$custom-light: #b265a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d167f",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 307.059,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45155,
    "c": 0.18585,
    "h": 333.9
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#8D167F
secondary
#3EC14E
accent
#F04E38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D167F

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

Preview Lab → · Contrast checker → · Palette generator →

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