#9C2197#9C2197

#9C2197 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.201 H 329.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9C2197
RGBrgb(156, 33, 151)
HSLhsl(302, 65%, 37%)
HSVhsv(302, 79%, 61%)
CMYKcmyk(0%, 78.8%, 3.2%, 38.8%)
CIE-LABlab(38.54, 61.53, -36.45)
CIE-LCHlch(38.54, 71.52, 329.36°)
OKLaboklab(49.69% 0.1741 -0.1008)
OKLCHoklch(49.69% 0.201 329.9)
XYZxyz(19.8400, 10.3916, 30.2330)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2197 #219C26
analogous
#64219C #9C2197 #9C215A
triadic
#9C2197 #979C21 #21979C
tetradic
#9C2197 #9C6421 #219C26 #215A9C
square
#9C2197 #9C6421 #219C26 #215A9C
split-complementary
#9C2197 #5A9C21 #219C64
monochromatic
#370C35 #691666 #9C2197 #CF2CC8 #DC5BD7

Accessibility & contrast

On white

6.82
#9C2197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9C2197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2197
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2197#FFFFFF#000000##FFFFFF
##9C21971.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B509A
Deuteranopia (green-blind)
#486094
Tritanopia (blue-blind)
#A2345C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2197;
/* rgb */ color: rgb(156, 33, 151);
/* oklch */ color: oklch(49.7% 0.201 329.9);
Tailwind
colors: {
  custom: {
    50: '#bd6cb6',
    500: '#9c2197',
    950: '#000000',
  },
}
SCSS
$custom: #9c2197;
$custom-light: #bd6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2197",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 302.439,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49688,
    "c": 0.2012,
    "h": 329.9
  },
  "luminance": 0.1039
}

Semantic roles & 50–950 ramp

primary
#9C2197
secondary
#58C15C
accent
#E84740
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2197

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

Preview Lab → · Contrast checker → · Palette generator →

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