#8D1E81#8D1E81

#8D1E81 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.180 H 333.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8D1E81
RGBrgb(141, 30, 129)
HSLhsl(306, 65%, 34%)
HSVhsv(306, 79%, 55%)
CMYKcmyk(0%, 78.7%, 8.5%, 44.7%)
CIE-LABlab(34.35, 55.62, -29.71)
CIE-LCHlch(34.35, 63.06, 331.89°)
OKLaboklab(45.8% 0.1606 -0.0816)
OKLCHoklch(45.8% 0.18 333.1)
XYZxyz(15.4113, 8.1776, 21.5314)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E81 #1E8D2A
analogous
#611E8D #8D1E81 #8D1E4A
triadic
#8D1E81 #818D1E #1E818D
tetradic
#8D1E81 #8D611E #1E8D2A #1E4A8D
square
#8D1E81 #8D611E #1E8D2A #1E4A8D
split-complementary
#8D1E81 #4A8D1E #1E8D61
monochromatic
#280925 #5B1353 #8D1E81 #BF29AF #D94CCA

Accessibility & contrast

On white

7.97
#8D1E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1E81
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E81#FFFFFF#000000##FFFFFF
##8D1E811.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184784
Deuteranopia (green-blind)
#45567E
Tritanopia (blue-blind)
#942A4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1e81;
/* rgb */ color: rgb(141, 30, 129);
/* oklch */ color: oklch(45.8% 0.180 333.1);
Tailwind
colors: {
  custom: {
    50: '#b268a6',
    500: '#8d1e81',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e81;
$custom-light: #b268a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e81",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 306.486,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45798,
    "c": 0.18019,
    "h": 333.1
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#8D1E81
secondary
#4BBC57
accent
#E85240
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1E81

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

Preview Lab → · Contrast checker → · Palette generator →

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