#8D1681#8D1681

#8D1681 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.187 H 333.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8D1681
RGBrgb(141, 22, 129)
HSLhsl(306, 73%, 32%)
HSVhsv(306, 84%, 55%)
CMYKcmyk(0%, 84.4%, 8.5%, 44.7%)
CIE-LABlab(33.61, 57.76, -30.88)
CIE-LCHlch(33.61, 65.49, 331.87°)
OKLaboklab(45.27% 0.1669 -0.0849)
OKLCHoklch(45.27% 0.187 333)
XYZxyz(15.2340, 7.8229, 21.4723)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1681 #168D22
analogous
#5D168D #8D1681 #8D1646
triadic
#8D1681 #818D16 #16818D
tetradic
#8D1681 #8D5D16 #168D22 #16468D
square
#8D1681 #8D5D16 #168D22 #16468D
split-complementary
#8D1681 #468D16 #168D5D
monochromatic
#230520 #580E51 #8D1681 #C21EB1 #E13DD0

Accessibility & contrast

On white

8.19
#8D1681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8D1681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1681
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1681#FFFFFF#000000##FFFFFF
##8D16811.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4484
Deuteranopia (green-blind)
#42557E
Tritanopia (blue-blind)
#94264D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1681;
/* rgb */ color: rgb(141, 22, 129);
/* oklch */ color: oklch(45.3% 0.187 333.0);
Tailwind
colors: {
  custom: {
    50: '#b265a6',
    500: '#8d1681',
    950: '#000000',
  },
}
SCSS
$custom: #8d1681;
$custom-light: #b265a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1681",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 306.05,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4527,
    "c": 0.18727,
    "h": 333
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#8D1681
secondary
#3EC14B
accent
#F04B38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D1681

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

Preview Lab → · Contrast checker → · Palette generator →

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