#8D1E8A#8D1E8A

#8D1E8A is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.187 H 329.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8D1E8A
RGBrgb(141, 30, 138)
HSLhsl(302, 65%, 34%)
HSVhsv(302, 79%, 55%)
CMYKcmyk(0%, 78.7%, 2.1%, 44.7%)
CIE-LABlab(34.86, 57.07, -34.49)
CIE-LCHlch(34.86, 66.68, 328.85°)
OKLaboklab(46.33% 0.1608 -0.0954)
OKLCHoklch(46.33% 0.187 329.3)
XYZxyz(16.0361, 8.4275, 24.8219)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E8A #1E8D21
analogous
#581E8D #8D1E8A #8D1E52
triadic
#8D1E8A #8A8D1E #1E8A8D
tetradic
#8D1E8A #8D581E #1E8D21 #1E528D
square
#8D1E8A #8D581E #1E8D21 #1E528D
split-complementary
#8D1E8A #528D1E #1E8D58
monochromatic
#280927 #5B1359 #8D1E8A #BF29BB #D94CD5

Accessibility & contrast

On white

7.82
#8D1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E8A
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E8A#FFFFFF#000000##FFFFFF
##8D1E8A1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07498D
Deuteranopia (green-blind)
#405787
Tritanopia (blue-blind)
#922F53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1e8a;
/* rgb */ color: rgb(141, 30, 138);
/* oklch */ color: oklch(46.3% 0.187 329.3);
Tailwind
colors: {
  custom: {
    50: '#b268ac',
    500: '#8d1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e8a;
$custom-light: #b268ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e8a",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 301.622,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46325,
    "c": 0.18696,
    "h": 329.3
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#8D1E8A
secondary
#4BBC4E
accent
#E84440
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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