#8D218F#8D218F

#8D218F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.188 H 327.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8D218F
RGBrgb(141, 33, 143)
HSLhsl(299, 63%, 35%)
HSVhsv(299, 77%, 56%)
CMYKcmyk(1.4%, 76.9%, 0%, 43.9%)
CIE-LABlab(35.47, 57.00, -36.60)
CIE-LCHlch(35.47, 67.74, 327.29°)
OKLaboklab(46.86% 0.1581 -0.1016)
OKLCHoklch(46.86% 0.188 327.3)
XYZxyz(16.4860, 8.7348, 26.7989)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D218F #238F21
analogous
#56218F #8D218F #8F215A
triadic
#8D218F #8F8D21 #218F8D
tetradic
#8D218F #8F5621 #238F21 #215A8F
square
#8D218F #8F5621 #238F21 #215A8F
split-complementary
#8D218F #5A8F21 #218F56
monochromatic
#2B0A2C #5C165D #8D218F #BE2CC1 #D553D7

Accessibility & contrast

On white

7.65
#8D218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8D218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D218F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D218F#FFFFFF#000000##FFFFFF
##8D218F1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014B92
Deuteranopia (green-blind)
#3E588C
Tritanopia (blue-blind)
#913457
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d218f;
/* rgb */ color: rgb(141, 33, 143);
/* oklch */ color: oklch(46.9% 0.188 327.3);
Tailwind
colors: {
  custom: {
    50: '#b269b0',
    500: '#8d218f',
    950: '#000000',
  },
}
SCSS
$custom: #8d218f;
$custom-light: #b269b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d218f",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 298.909,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46855,
    "c": 0.18791,
    "h": 327.3
  },
  "luminance": 0.08734
}

Semantic roles & 50–950 ramp

primary
#8D218F
secondary
#53BB51
accent
#E64245
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D218F

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

Preview Lab → · Contrast checker → · Palette generator →

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