#8D1D8E#8D1D8E

#8D1D8E is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.191 H 327.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8D1D8E
RGBrgb(141, 29, 142)
HSLhsl(299, 66%, 34%)
HSVhsv(299, 80%, 56%)
CMYKcmyk(0.7%, 79.6%, 0%, 44.3%)
CIE-LABlab(34.99, 58.02, -36.74)
CIE-LCHlch(34.99, 68.68, 327.66°)
OKLaboklab(46.5% 0.1615 -0.102)
OKLCHoklch(46.5% 0.191 327.7)
XYZxyz(16.3061, 8.4957, 26.3669)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D8E #1E8E1D
analogous
#541D8E #8D1D8E #8E1D56
triadic
#8D1D8E #8E8D1D #1D8E8D
tetradic
#8D1D8E #8E541D #1E8E1D #1D568E
square
#8D1D8E #8E541D #1E8E1D #1D568E
split-complementary
#8D1D8E #568E1D #1D8E54
monochromatic
#280828 #5B135B #8D1D8E #BF27C1 #D94BDA

Accessibility & contrast

On white

7.78
#8D1D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8D1D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D8E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D8E#FFFFFF#000000##FFFFFF
##8D1D8E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#3D578B
Tritanopia (blue-blind)
#913156
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1d8e;
/* rgb */ color: rgb(141, 29, 142);
/* oklch */ color: oklch(46.5% 0.191 327.7);
Tailwind
colors: {
  custom: {
    50: '#b268af',
    500: '#8d1d8e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d8e;
$custom-light: #b268af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d8e",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 299.469,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46498,
    "c": 0.19098,
    "h": 327.7
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#8D1D8E
secondary
#4BBD4A
accent
#E93F40
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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