#8D218D#8D218D

#8D218D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.186 H 328.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8D218D
RGBrgb(141, 33, 141)
HSLhsl(300, 62%, 34%)
HSVhsv(300, 77%, 55%)
CMYKcmyk(0%, 76.6%, 0%, 44.7%)
CIE-LABlab(35.35, 56.66, -35.56)
CIE-LCHlch(35.35, 66.89, 327.89°)
OKLaboklab(46.73% 0.1581 -0.0986)
OKLCHoklch(46.73% 0.186 328.1)
XYZxyz(16.3359, 8.6747, 26.0081)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D218D #218D21
analogous
#57218D #8D218D #8D2157
triadic
#8D218D #8D8D21 #218D8D
tetradic
#8D218D #8D5721 #218D21 #21578D
square
#8D218D #8D5721 #218D21 #21578D
split-complementary
#8D218D #578D21 #218D57
monochromatic
#2A0A2A #5B155B #8D218D #BF2DBF #D652D6

Accessibility & contrast

On white

7.68
#8D218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8D218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D218D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D218D#FFFFFF#000000##FFFFFF
##8D218D1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074A90
Deuteranopia (green-blind)
#3F588A
Tritanopia (blue-blind)
#923356
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d218d;
/* rgb */ color: rgb(141, 33, 141);
/* oklch */ color: oklch(46.7% 0.186 328.1);
Tailwind
colors: {
  custom: {
    50: '#b269af',
    500: '#8d218d',
    950: '#000000',
  },
}
SCSS
$custom: #8d218d;
$custom-light: #b269af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d218d",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46733,
    "c": 0.18633,
    "h": 328.1
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#8D218D
secondary
#50BA50
accent
#E54343
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D218D

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

Preview Lab → · Contrast checker → · Palette generator →

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