#8D219E#8D219E

#8D219E is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.8% C 0.200 H 321.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8D219E
RGBrgb(141, 33, 158)
HSLhsl(292, 65%, 37%)
HSVhsv(292, 79%, 62%)
CMYKcmyk(10.8%, 79.1%, 0%, 38%)
CIE-LABlab(36.40, 59.64, -44.25)
CIE-LCHlch(36.40, 74.26, 323.43°)
OKLaboklab(47.82% 0.157 -0.1239)
OKLCHoklch(47.82% 0.2 321.7)
XYZxyz(17.6992, 9.2201, 33.1885)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D219E #329E21
analogous
#4F219E #8D219E #9E2171
triadic
#8D219E #9E8D21 #219E8D
tetradic
#8D219E #9E4F21 #329E21 #21719E
square
#8D219E #9E4F21 #329E21 #21719E
split-complementary
#8D219E #719E21 #219E4F
monochromatic
#330C39 #60166B #8D219E #BA2CD1 #CC5CDD

Accessibility & contrast

On white

7.38
#8D219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D219E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D219E#FFFFFF#000000##FFFFFF
##8D219E1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#33599B
Tritanopia (blue-blind)
#8E3B5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d219e;
/* rgb */ color: rgb(141, 33, 158);
/* oklch */ color: oklch(47.8% 0.200 321.7);
Tailwind
colors: {
  custom: {
    50: '#b26abb',
    500: '#8d219e',
    950: '#000000',
  },
}
SCSS
$custom: #8d219e;
$custom-light: #b26abb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d219e",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 291.84,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4782,
    "c": 0.20003,
    "h": 321.7
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#8D219E
secondary
#68C159
accent
#E83F56
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D219E

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

Preview Lab → · Contrast checker → · Palette generator →

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