#8C219E#8C219E

#8C219E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.7% C 0.200 H 321.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8C219E
RGBrgb(140, 33, 158)
HSLhsl(291, 65%, 37%)
HSVhsv(291, 79%, 62%)
CMYKcmyk(11.4%, 79.1%, 0%, 38%)
CIE-LABlab(36.24, 59.44, -44.52)
CIE-LCHlch(36.24, 74.27, 323.17°)
OKLaboklab(47.67% 0.1558 -0.1248)
OKLCHoklch(47.67% 0.2 321.3)
XYZxyz(17.5299, 9.1328, 33.1806)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C219E #339E21
analogous
#4E219E #8C219E #9E2172
triadic
#8C219E #9E8C21 #219E8C
tetradic
#8C219E #9E4E21 #339E21 #21729E
square
#8C219E #9E4E21 #339E21 #21729E
split-complementary
#8C219E #729E21 #219E4E
monochromatic
#320C39 #5F166B #8C219E #B92CD1 #CB5CDD

Accessibility & contrast

On white

7.43
#8C219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8C219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C219E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C219E#FFFFFF#000000##FFFFFF
##8C219E1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#8D3B5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8c219e;
/* rgb */ color: rgb(140, 33, 158);
/* oklch */ color: oklch(47.7% 0.200 321.3);
Tailwind
colors: {
  custom: {
    50: '#b26abb',
    500: '#8c219e',
    950: '#000000',
  },
}
SCSS
$custom: #8c219e;
$custom-light: #b26abb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c219e",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 291.36,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4767,
    "c": 0.19963,
    "h": 321.3
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C219E

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

Preview Lab → · Contrast checker → · Palette generator →

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