#8D1E8D#8D1E8D

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

Color values

HEX#8D1E8D
RGBrgb(141, 30, 141)
HSLhsl(300, 65%, 34%)
HSVhsv(300, 79%, 55%)
CMYKcmyk(0%, 78.7%, 0%, 44.7%)
CIE-LABlab(35.03, 57.57, -36.06)
CIE-LCHlch(35.03, 67.93, 327.94°)
OKLaboklab(46.51% 0.1607 -0.1)
OKLCHoklch(46.51% 0.189 328.1)
XYZxyz(16.2563, 8.5156, 25.9816)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E8D #1E8D1E
analogous
#551E8D #8D1E8D #8D1E55
triadic
#8D1E8D #8D8D1E #1E8D8D
tetradic
#8D1E8D #8D551E #1E8D1E #1E558D
square
#8D1E8D #8D551E #1E8D1E #1E558D
split-complementary
#8D1E8D #558D1E #1E8D55
monochromatic
#280928 #5B135B #8D1E8D #BF29BF #D94CD9

Accessibility & contrast

On white

7.77
#8D1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1E8D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E8D#FFFFFF#000000##FFFFFF
##8D1E8D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#923155
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1e8d;
/* rgb */ color: rgb(141, 30, 141);
/* oklch */ color: oklch(46.5% 0.189 328.1);
Tailwind
colors: {
  custom: {
    50: '#b268af',
    500: '#8d1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e8d;
$custom-light: #b268af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e8d",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.18928,
    "h": 328.1
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#8D1E8D
secondary
#4BBC4B
accent
#E84040
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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