#9C219D#9C219D

#9C219D is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.206 H 327.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9C219D
RGBrgb(156, 33, 157)
HSLhsl(300, 65%, 37%)
HSVhsv(300, 79%, 62%)
CMYKcmyk(0.6%, 79%, 0%, 38.4%)
CIE-LABlab(38.88, 62.50, -39.53)
CIE-LCHlch(38.88, 73.95, 327.69°)
OKLaboklab(50.05% 0.174 -0.1097)
OKLCHoklch(50.05% 0.206 327.8)
XYZxyz(20.3397, 10.5915, 32.8648)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C219D #229D21
analogous
#5E219D #9C219D #9D2160
triadic
#9C219D #9D9C21 #219D9C
tetradic
#9C219D #9D5E21 #229D21 #21609D
square
#9C219D #9D5E21 #229D21 #21609D
split-complementary
#9C219D #609D21 #219D5E
monochromatic
#380C38 #6A166A #9C219D #CE2CD0 #DC5CDD

Accessibility & contrast

On white

6.74
#9C219D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9C219D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C219D
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C219D#FFFFFF#000000##FFFFFF
##9C219D1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#44619A
Tritanopia (blue-blind)
#A1375F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c219d;
/* rgb */ color: rgb(156, 33, 157);
/* oklch */ color: oklch(50.0% 0.206 327.8);
Tailwind
colors: {
  custom: {
    50: '#bd6cba',
    500: '#9c219d',
    950: '#000000',
  },
}
SCSS
$custom: #9c219d;
$custom-light: #bd6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c219d",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 299.516,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50047,
    "c": 0.2057,
    "h": 327.8
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#9C219D
secondary
#5AC159
accent
#E84041
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9C219D

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

Preview Lab → · Contrast checker → · Palette generator →

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