#8D219F#8D219F

#8D219F is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 47.9% C 0.201 H 321.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8D219F
RGBrgb(141, 33, 159)
HSLhsl(291, 66%, 38%)
HSVhsv(291, 79%, 62%)
CMYKcmyk(11.3%, 79.2%, 0%, 37.6%)
CIE-LABlab(36.47, 59.82, -44.75)
CIE-LCHlch(36.47, 74.71, 323.21°)
OKLaboklab(47.89% 0.1569 -0.1254)
OKLCHoklch(47.89% 0.201 321.4)
XYZxyz(17.7857, 9.2546, 33.6437)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D219F #339F21
analogous
#4E219F #8D219F #9F2172
triadic
#8D219F #9F8D21 #219F8D
tetradic
#8D219F #9F4E21 #339F21 #21729F
square
#8D219F #9F4E21 #339F21 #21729F
split-complementary
#8D219F #729F21 #219F4E
monochromatic
#330C3A #60166C #8D219F #BA2CD2 #CB5DDD

Accessibility & contrast

On white

7.37
#8D219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8D219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D219F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D219F#FFFFFF#000000##FFFFFF
##8D219F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#325A9C
Tritanopia (blue-blind)
#8E3B60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d219f;
/* rgb */ color: rgb(141, 33, 159);
/* oklch */ color: oklch(47.9% 0.201 321.4);
Tailwind
colors: {
  custom: {
    50: '#b26abc',
    500: '#8d219f',
    950: '#000000',
  },
}
SCSS
$custom: #8d219f;
$custom-light: #b26abc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d219f",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 291.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47887,
    "c": 0.20085,
    "h": 321.4
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#8D219F
secondary
#69C25A
accent
#E93F57
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D219F

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

Preview Lab → · Contrast checker → · Palette generator →

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