#8D219B#8D219B

#8D219B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.198 H 322.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8D219B
RGBrgb(141, 33, 155)
HSLhsl(293, 65%, 37%)
HSVhsv(293, 79%, 61%)
CMYKcmyk(9%, 78.7%, 0%, 39.2%)
CIE-LABlab(36.21, 59.10, -42.74)
CIE-LCHlch(36.21, 72.93, 324.13°)
OKLaboklab(47.62% 0.1573 -0.1195)
OKLCHoklch(47.62% 0.198 322.8)
XYZxyz(17.4442, 9.1180, 31.8451)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D219B #2F9B21
analogous
#50219B #8D219B #9B216C
triadic
#8D219B #9B8D21 #219B8D
tetradic
#8D219B #9B5021 #2F9B21 #216C9B
square
#8D219B #9B5021 #2F9B21 #216C9B
split-complementary
#8D219B #6C9B21 #219B50
monochromatic
#310C36 #5F1669 #8D219B #BB2CCD #CD5ADC

Accessibility & contrast

On white

7.44
#8D219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8D219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D219B
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D219B#FFFFFF#000000##FFFFFF
##8D219B1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d219b;
/* rgb */ color: rgb(141, 33, 155);
/* oklch */ color: oklch(47.6% 0.198 322.8);
Tailwind
colors: {
  custom: {
    50: '#b26ab9',
    500: '#8d219b',
    950: '#000000',
  },
}
SCSS
$custom: #8d219b;
$custom-light: #b26ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d219b",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 293.115,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4762,
    "c": 0.19757,
    "h": 322.8
  },
  "luminance": 0.09117
}

Semantic roles & 50–950 ramp

primary
#8D219B
secondary
#64C058
accent
#E84053
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D219B

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

Preview Lab → · Contrast checker → · Palette generator →

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