#8C219D#8C219D

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

Color values

HEX#8C219D
RGBrgb(140, 33, 157)
HSLhsl(292, 65%, 37%)
HSVhsv(292, 79%, 62%)
CMYKcmyk(10.8%, 79%, 0%, 38.4%)
CIE-LABlab(36.17, 59.26, -44.02)
CIE-LCHlch(36.17, 73.82, 323.39°)
OKLaboklab(47.6% 0.1559 -0.1233)
OKLCHoklch(47.6% 0.199 321.7)
XYZxyz(17.4442, 9.0985, 32.7291)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C219D #329D21
analogous
#4E219D #8C219D #9D2170
triadic
#8C219D #9D8C21 #219D8C
tetradic
#8C219D #9D4E21 #329D21 #21709D
square
#8C219D #9D4E21 #329D21 #21709D
split-complementary
#8C219D #709D21 #219D4E
monochromatic
#320C38 #5F166A #8C219D #B92CD0 #CB5CDD

Accessibility & contrast

On white

7.45
#8C219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C219D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C219D#FFFFFF#000000##FFFFFF
##8C219D1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c219d;
/* rgb */ color: rgb(140, 33, 157);
/* oklch */ color: oklch(47.6% 0.199 321.7);
Tailwind
colors: {
  custom: {
    50: '#b26aba',
    500: '#8c219d',
    950: '#000000',
  },
}
SCSS
$custom: #8c219d;
$custom-light: #b26aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8c219d",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 291.774,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47603,
    "c": 0.1988,
    "h": 321.7
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#8C219D
secondary
#67C159
accent
#E84057
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C219D

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

Preview Lab → · Contrast checker → · Palette generator →

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