#8D218B#8D218B

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

Color values

HEX#8D218B
RGBrgb(141, 33, 139)
HSLhsl(301, 62%, 34%)
HSVhsv(301, 77%, 55%)
CMYKcmyk(0%, 76.6%, 1.4%, 44.7%)
CIE-LABlab(35.23, 56.32, -34.51)
CIE-LCHlch(35.23, 66.05, 328.50°)
OKLaboklab(46.61% 0.1582 -0.0955)
OKLCHoklch(46.61% 0.185 328.9)
XYZxyz(16.1884, 8.6157, 25.2315)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D218B #218D23
analogous
#59218D #8D218B #8D2155
triadic
#8D218B #8B8D21 #218B8D
tetradic
#8D218B #8D5921 #218D23 #21558D
square
#8D218B #8D5921 #218D23 #21558D
split-complementary
#8D218B #558D21 #218D59
monochromatic
#2A0A29 #5B155A #8D218B #BF2DBC #D652D4

Accessibility & contrast

On white

7.71
#8D218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D218B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D218B#FFFFFF#000000##FFFFFF
##8D218B1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4A8E
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#923255
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d218b;
/* rgb */ color: rgb(141, 33, 139);
/* oklch */ color: oklch(46.6% 0.185 328.9);
Tailwind
colors: {
  custom: {
    50: '#b269ad',
    500: '#8d218b',
    950: '#000000',
  },
}
SCSS
$custom: #8d218b;
$custom-light: #b269ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d218b",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 301.111,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46612,
    "c": 0.18476,
    "h": 328.9
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#8D218B
secondary
#50BA52
accent
#E54643
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D218B

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

Preview Lab → · Contrast checker → · Palette generator →

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