#8D168F#8D168F

#8D168F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.198 H 327.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8D168F
RGBrgb(141, 22, 143)
HSLhsl(299, 73%, 32%)
HSVhsv(299, 85%, 56%)
CMYKcmyk(1.4%, 84.6%, 0%, 43.9%)
CIE-LABlab(34.44, 59.98, -38.24)
CIE-LCHlch(34.44, 71.13, 327.48°)
OKLaboklab(46.12% 0.1665 -0.1063)
OKLCHoklch(46.12% 0.198 327.4)
XYZxyz(16.2291, 8.2209, 26.7133)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D168F #188F16
analogous
#50168F #8D168F #8F1655
triadic
#8D168F #8F8D16 #168F8D
tetradic
#8D168F #8F5016 #188F16 #16558F
square
#8D168F #8F5016 #188F16 #16558F
split-complementary
#8D168F #558F16 #168F50
monochromatic
#240625 #590E5A #8D168F #C11EC4 #DF3EE1

Accessibility & contrast

On white

7.94
#8D168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D168F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D168F#FFFFFF#000000##FFFFFF
##8D168F1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#912E55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d168f;
/* rgb */ color: rgb(141, 22, 143);
/* oklch */ color: oklch(46.1% 0.198 327.4);
Tailwind
colors: {
  custom: {
    50: '#b266b0',
    500: '#8d168f',
    950: '#000000',
  },
}
SCSS
$custom: #8d168f;
$custom-light: #b266b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d168f",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 299.008,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46124,
    "c": 0.19752,
    "h": 327.4
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#8D168F
secondary
#42C13F
accent
#F0383B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D168F

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

Preview Lab → · Contrast checker → · Palette generator →

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