#8D1D9A#8D1D9A

#8D1D9A is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.3% C 0.200 H 323.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8D1D9A
RGBrgb(141, 29, 154)
HSLhsl(294, 68%, 36%)
HSVhsv(294, 81%, 60%)
CMYKcmyk(8.4%, 81.2%, 0%, 39.6%)
CIE-LABlab(35.74, 60.09, -42.88)
CIE-LCHlch(35.74, 73.82, 324.49°)
OKLaboklab(47.27% 0.1606 -0.1199)
OKLCHoklch(47.27% 0.2 323.3)
XYZxyz(17.2561, 8.8756, 31.3698)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D9A #2A9A1D
analogous
#4E1D9A #8D1D9A #9A1D68
triadic
#8D1D9A #9A8D1D #1D9A8D
tetradic
#8D1D9A #9A4E1D #2A9A1D #1D689A
square
#8D1D9A #9A4E1D #2A9A1D #1D689A
split-complementary
#8D1D9A #689A1D #1D9A4E
monochromatic
#2F0A33 #5E1366 #8D1D9A #BC27CE #D053DF

Accessibility & contrast

On white

7.57
#8D1D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8D1D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D9A
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D9A#FFFFFF#000000##FFFFFF
##8D1D9A1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#345897
Tritanopia (blue-blind)
#8F375C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d1d9a;
/* rgb */ color: rgb(141, 29, 154);
/* oklch */ color: oklch(47.3% 0.200 323.3);
Tailwind
colors: {
  custom: {
    50: '#b268b8',
    500: '#8d1d9a',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d9a;
$custom-light: #b268b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d9a",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 293.76,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47269,
    "c": 0.20041,
    "h": 323.3
  },
  "luminance": 0.08875
}

Semantic roles & 50–950 ramp

primary
#8D1D9A
secondary
#5DC251
accent
#EB3D4F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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