#8D168D#8D168D

#8D168D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.196 H 328.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8D168D
RGBrgb(141, 22, 141)
HSLhsl(300, 73%, 32%)
HSVhsv(300, 84%, 55%)
CMYKcmyk(0%, 84.4%, 0%, 44.7%)
CIE-LABlab(34.32, 59.65, -37.21)
CIE-LCHlch(34.32, 70.30, 328.05°)
OKLaboklab(46% 0.1666 -0.1033)
OKLCHoklch(46% 0.196 328.2)
XYZxyz(16.0790, 8.1609, 25.9225)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D168D #168D16
analogous
#52168D #8D168D #8D1652
triadic
#8D168D #8D8D16 #168D8D
tetradic
#8D168D #8D5216 #168D16 #16528D
square
#8D168D #8D5216 #168D16 #16528D
split-complementary
#8D168D #528D16 #168D52
monochromatic
#230523 #580E58 #8D168D #C21EC2 #E13DE1

Accessibility & contrast

On white

7.98
#8D168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D168D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D168D#FFFFFF#000000##FFFFFF
##8D168D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#922D54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d168d;
/* rgb */ color: rgb(141, 22, 141);
/* oklch */ color: oklch(46.0% 0.196 328.2);
Tailwind
colors: {
  custom: {
    50: '#b266af',
    500: '#8d168d',
    950: '#000000',
  },
}
SCSS
$custom: #8d168d;
$custom-light: #b266af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d168d",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.19603,
    "h": 328.2
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#8D168D
secondary
#3EC13E
accent
#F03838
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D168D

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

Preview Lab → · Contrast checker → · Palette generator →

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