#8C219C#8C219C

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

Color values

HEX#8C219C
RGBrgb(140, 33, 156)
HSLhsl(292, 65%, 37%)
HSVhsv(292, 79%, 61%)
CMYKcmyk(10.3%, 78.8%, 0%, 38.8%)
CIE-LABlab(36.11, 59.08, -43.52)
CIE-LCHlch(36.11, 73.38, 323.62°)
OKLaboklab(47.54% 0.1561 -0.1218)
OKLCHoklch(47.54% 0.198 322)
XYZxyz(17.3592, 9.0645, 32.2813)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C219C #319C21
analogous
#4F219C #8C219C #9C216F
triadic
#8C219C #9C8C21 #219C8C
tetradic
#8C219C #9C4F21 #319C21 #216F9C
square
#8C219C #9C4F21 #319C21 #216F9C
split-complementary
#8C219C #6F9C21 #219C4F
monochromatic
#310C37 #5F1669 #8C219C #B92CCF #CC5BDC

Accessibility & contrast

On white

7.47
#8C219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8C219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C219C
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C219C#FFFFFF#000000##FFFFFF
##8C219C1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#335999
Tritanopia (blue-blind)
#8E3A5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8c219c;
/* rgb */ color: rgb(140, 33, 156);
/* oklch */ color: oklch(47.5% 0.198 322.0);
Tailwind
colors: {
  custom: {
    50: '#b16aba',
    500: '#8c219c',
    950: '#000000',
  },
}
SCSS
$custom: #8c219c;
$custom-light: #b16aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8c219c",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 292.195,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47536,
    "c": 0.19798,
    "h": 322
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

primary
#8C219C
secondary
#66C158
accent
#E84056
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C219C

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

Preview Lab → · Contrast checker → · Palette generator →

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