#8D168C#8D168C

#8D168C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.195 H 328.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8D168C
RGBrgb(141, 22, 140)
HSLhsl(301, 73%, 32%)
HSVhsv(301, 84%, 55%)
CMYKcmyk(0%, 84.4%, 0.7%, 44.7%)
CIE-LABlab(34.25, 59.49, -36.69)
CIE-LCHlch(34.25, 69.89, 328.34°)
OKLaboklab(45.93% 0.1667 -0.1018)
OKLCHoklch(45.93% 0.195 328.6)
XYZxyz(16.0049, 8.1312, 25.5324)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D168C #168D17
analogous
#53168D #8D168C #8D1651
triadic
#8D168C #8C8D16 #168C8D
tetradic
#8D168C #8D5316 #168D17 #16518D
square
#8D168C #8D5316 #168D17 #16518D
split-complementary
#8D168C #518D16 #168D53
monochromatic
#230523 #580E57 #8D168C #C21EC1 #E13DDF

Accessibility & contrast

On white

8.00
#8D168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D168C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D168C#FFFFFF#000000##FFFFFF
##8D168C1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#922C53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d168c;
/* rgb */ color: rgb(141, 22, 140);
/* oklch */ color: oklch(45.9% 0.195 328.6);
Tailwind
colors: {
  custom: {
    50: '#b265ae',
    500: '#8d168c',
    950: '#000000',
  },
}
SCSS
$custom: #8d168c;
$custom-light: #b265ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d168c",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 300.504,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45935,
    "c": 0.19529,
    "h": 328.6
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#8D168C
secondary
#3EC13F
accent
#F03A38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D168C

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

Preview Lab → · Contrast checker → · Palette generator →

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