#8D218A#8D218A

#8D218A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.184 H 329.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8D218A
RGBrgb(141, 33, 138)
HSLhsl(302, 62%, 34%)
HSVhsv(302, 77%, 55%)
CMYKcmyk(0%, 76.6%, 2.1%, 44.7%)
CIE-LABlab(35.18, 56.16, -33.99)
CIE-LCHlch(35.18, 65.64, 328.82°)
OKLaboklab(46.55% 0.1582 -0.094)
OKLCHoklch(46.55% 0.184 329.3)
XYZxyz(16.1157, 8.5866, 24.8484)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D218A #218D24
analogous
#5A218D #8D218A #8D2154
triadic
#8D218A #8A8D21 #218A8D
tetradic
#8D218A #8D5A21 #218D24 #21548D
square
#8D218A #8D5A21 #218D24 #21548D
split-complementary
#8D218A #548D21 #218D5A
monochromatic
#2A0A29 #5B1559 #8D218A #BF2DBB #D652D3

Accessibility & contrast

On white

7.73
#8D218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8D218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D218A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D218A#FFFFFF#000000##FFFFFF
##8D218A1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4A8D
Deuteranopia (green-blind)
#415887
Tritanopia (blue-blind)
#923154
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d218a;
/* rgb */ color: rgb(141, 33, 138);
/* oklch */ color: oklch(46.6% 0.184 329.3);
Tailwind
colors: {
  custom: {
    50: '#b269ac',
    500: '#8d218a',
    950: '#000000',
  },
}
SCSS
$custom: #8d218a;
$custom-light: #b269ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d218a",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 301.667,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.18398,
    "h": 329.3
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#8D218A
secondary
#50BA53
accent
#E54743
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D218A

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

Preview Lab → · Contrast checker → · Palette generator →

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