#8C219A#8C219A

#8C219A is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.196 H 322.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8C219A
RGBrgb(140, 33, 154)
HSLhsl(293, 65%, 37%)
HSVhsv(293, 79%, 60%)
CMYKcmyk(9.1%, 78.6%, 0%, 39.6%)
CIE-LABlab(35.98, 58.72, -42.51)
CIE-LCHlch(35.98, 72.49, 324.10°)
OKLaboklab(47.4% 0.1563 -0.1189)
OKLCHoklch(47.4% 0.196 322.7)
XYZxyz(17.1912, 8.9973, 31.3967)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C219A #2F9A21
analogous
#50219A #8C219A #9A216C
triadic
#8C219A #9A8C21 #219A8C
tetradic
#8C219A #9A5021 #2F9A21 #216C9A
square
#8C219A #9A5021 #2F9A21 #216C9A
split-complementary
#8C219A #6C9A21 #219A50
monochromatic
#300B35 #5E1668 #8C219A #BA2CCC #CD5ADC

Accessibility & contrast

On white

7.50
#8C219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8C219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C219A
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C219A#FFFFFF#000000##FFFFFF
##8C219A1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#355997
Tritanopia (blue-blind)
#8E395D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8c219a;
/* rgb */ color: rgb(140, 33, 154);
/* oklch */ color: oklch(47.4% 0.196 322.7);
Tailwind
colors: {
  custom: {
    50: '#b16ab8',
    500: '#8c219a',
    950: '#000000',
  },
}
SCSS
$custom: #8c219a;
$custom-light: #b16ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c219a",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 293.058,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47403,
    "c": 0.19634,
    "h": 322.7
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#8C219A
secondary
#63C057
accent
#E84053
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C219A

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

Preview Lab → · Contrast checker → · Palette generator →

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