#9C219A#9C219A

#9C219A is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.203 H 328.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9C219A
RGBrgb(156, 33, 154)
HSLhsl(301, 65%, 37%)
HSVhsv(301, 79%, 61%)
CMYKcmyk(0%, 78.8%, 1.3%, 38.8%)
CIE-LABlab(38.71, 62.01, -38.00)
CIE-LCHlch(38.71, 72.73, 328.50°)
OKLaboklab(49.87% 0.1741 -0.1053)
OKLCHoklch(49.87% 0.203 328.8)
XYZxyz(20.0867, 10.4903, 31.5325)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C219A #219C23
analogous
#61219C #9C219A #9C215C
triadic
#9C219A #9A9C21 #219A9C
tetradic
#9C219A #9C6121 #219C23 #215C9C
square
#9C219A #9C6121 #219C23 #215C9C
split-complementary
#9C219A #5C9C21 #219C61
monochromatic
#370C36 #691668 #9C219A #CF2CCC #DC5BDA

Accessibility & contrast

On white

6.78
#9C219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9C219A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C219A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C219A#FFFFFF#000000##FFFFFF
##9C219A1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01519D
Deuteranopia (green-blind)
#466197
Tritanopia (blue-blind)
#A1355D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c219a;
/* rgb */ color: rgb(156, 33, 154);
/* oklch */ color: oklch(49.9% 0.203 328.8);
Tailwind
colors: {
  custom: {
    50: '#bd6cb8',
    500: '#9c219a',
    950: '#000000',
  },
}
SCSS
$custom: #9c219a;
$custom-light: #bd6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c219a",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 300.976,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49866,
    "c": 0.20344,
    "h": 328.8
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#9C219A
secondary
#58C15A
accent
#E84240
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C219A

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

Preview Lab → · Contrast checker → · Palette generator →

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