#8C219B#8C219B

#8C219B is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.5% C 0.197 H 322.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8C219B
RGBrgb(140, 33, 155)
HSLhsl(293, 65%, 37%)
HSVhsv(293, 79%, 61%)
CMYKcmyk(9.7%, 78.7%, 0%, 39.2%)
CIE-LABlab(36.04, 58.90, -43.02)
CIE-LCHlch(36.04, 72.93, 323.86°)
OKLaboklab(47.47% 0.1562 -0.1204)
OKLCHoklch(47.47% 0.197 322.4)
XYZxyz(17.2749, 9.0307, 31.8372)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C219B #309B21
analogous
#4F219B #8C219B #9B216D
triadic
#8C219B #9B8C21 #219B8C
tetradic
#8C219B #9B4F21 #309B21 #216D9B
square
#8C219B #9B4F21 #309B21 #216D9B
split-complementary
#8C219B #6D9B21 #219B4F
monochromatic
#310C36 #5E1669 #8C219B #BA2CCD #CC5ADC

Accessibility & contrast

On white

7.48
#8C219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C219B
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C219B#FFFFFF#000000##FFFFFF
##8C219B1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c219b;
/* rgb */ color: rgb(140, 33, 155);
/* oklch */ color: oklch(47.5% 0.197 322.4);
Tailwind
colors: {
  custom: {
    50: '#b16ab9',
    500: '#8c219b',
    950: '#000000',
  },
}
SCSS
$custom: #8c219b;
$custom-light: #b16ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c219b",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 292.623,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47469,
    "c": 0.19715,
    "h": 322.4
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C219B

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

Preview Lab → · Contrast checker → · Palette generator →

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