#8D219C#8D219C

#8D219C is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.198 H 322.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8D219C
RGBrgb(141, 33, 156)
HSLhsl(293, 65%, 37%)
HSVhsv(293, 79%, 61%)
CMYKcmyk(9.6%, 78.8%, 0%, 38.8%)
CIE-LABlab(36.27, 59.28, -43.24)
CIE-LCHlch(36.27, 73.38, 323.89°)
OKLaboklab(47.69% 0.1572 -0.121)
OKLCHoklch(47.69% 0.198 322.4)
XYZxyz(17.5285, 9.1518, 32.2892)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D219C #309C21
analogous
#50219C #8D219C #9C216E
triadic
#8D219C #9C8D21 #219C8D
tetradic
#8D219C #9C5021 #309C21 #216E9C
square
#8D219C #9C5021 #309C21 #216E9C
split-complementary
#8D219C #6E9C21 #219C50
monochromatic
#320C37 #5F1669 #8D219C #BB2CCF #CD5BDC

Accessibility & contrast

On white

7.42
#8D219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D219C
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D219C#FFFFFF#000000##FFFFFF
##8D219C1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#355999
Tritanopia (blue-blind)
#8F3A5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d219c;
/* rgb */ color: rgb(141, 33, 156);
/* oklch */ color: oklch(47.7% 0.198 322.4);
Tailwind
colors: {
  custom: {
    50: '#b26aba',
    500: '#8d219c',
    950: '#000000',
  },
}
SCSS
$custom: #8d219c;
$custom-light: #b26aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d219c",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 292.683,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47686,
    "c": 0.19839,
    "h": 322.4
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#8D219C
secondary
#65C158
accent
#E84054
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D219C

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

Preview Lab → · Contrast checker → · Palette generator →

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