#8D219A#8D219A

#8D219A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.197 H 323.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8D219A
RGBrgb(141, 33, 154)
HSLhsl(294, 65%, 37%)
HSVhsv(294, 79%, 60%)
CMYKcmyk(8.4%, 78.6%, 0%, 39.6%)
CIE-LABlab(36.15, 58.92, -42.23)
CIE-LCHlch(36.15, 72.49, 324.37°)
OKLaboklab(47.56% 0.1574 -0.118)
OKLCHoklch(47.56% 0.197 323.1)
XYZxyz(17.3605, 9.0846, 31.4047)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D219A #2E9A21
analogous
#51219A #8D219A #9A216B
triadic
#8D219A #9A8D21 #219A8D
tetradic
#8D219A #9A5121 #2E9A21 #216B9A
square
#8D219A #9A5121 #2E9A21 #216B9A
split-complementary
#8D219A #6B9A21 #219A51
monochromatic
#310B35 #5F1668 #8D219A #BB2CCC #CE5ADC

Accessibility & contrast

On white

7.46
#8D219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8D219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D219A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D219A#FFFFFF#000000##FFFFFF
##8D219A1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#8F395D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d219a;
/* rgb */ color: rgb(141, 33, 154);
/* oklch */ color: oklch(47.6% 0.197 323.1);
Tailwind
colors: {
  custom: {
    50: '#b26ab8',
    500: '#8d219a',
    950: '#000000',
  },
}
SCSS
$custom: #8d219a;
$custom-light: #b26ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d219a",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 293.554,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47555,
    "c": 0.19676,
    "h": 323.1
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#8D219A
secondary
#62C057
accent
#E84052
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D219A

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

Preview Lab → · Contrast checker → · Palette generator →

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