#8D219D#8D219D

#8D219D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.199 H 322.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8D219D
RGBrgb(141, 33, 157)
HSLhsl(292, 65%, 37%)
HSVhsv(292, 79%, 62%)
CMYKcmyk(10.2%, 79%, 0%, 38.4%)
CIE-LABlab(36.34, 59.46, -43.74)
CIE-LCHlch(36.34, 73.82, 323.66°)
OKLaboklab(47.75% 0.1571 -0.1225)
OKLCHoklch(47.75% 0.199 322.1)
XYZxyz(17.6135, 9.1858, 32.7370)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D219D #319D21
analogous
#4F219D #8D219D #9D216F
triadic
#8D219D #9D8D21 #219D8D
tetradic
#8D219D #9D4F21 #319D21 #216F9D
square
#8D219D #9D4F21 #319D21 #216F9D
split-complementary
#8D219D #6F9D21 #219D4F
monochromatic
#320C38 #60166A #8D219D #BA2CD0 #CC5CDD

Accessibility & contrast

On white

7.40
#8D219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D219D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D219D#FFFFFF#000000##FFFFFF
##8D219D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#34599A
Tritanopia (blue-blind)
#8F3B5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d219d;
/* rgb */ color: rgb(141, 33, 157);
/* oklch */ color: oklch(47.8% 0.199 322.1);
Tailwind
colors: {
  custom: {
    50: '#b26aba',
    500: '#8d219d',
    950: '#000000',
  },
}
SCSS
$custom: #8d219d;
$custom-light: #b26aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d219d",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 292.258,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47753,
    "c": 0.19921,
    "h": 322.1
  },
  "luminance": 0.09185
}

Semantic roles & 50–950 ramp

primary
#8D219D
secondary
#66C159
accent
#E84055
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D219D

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

Preview Lab → · Contrast checker → · Palette generator →

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