#9C2397#9C2397

#9C2397 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.199 H 329.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9C2397
RGBrgb(156, 35, 151)
HSLhsl(302, 63%, 37%)
HSVhsv(302, 78%, 61%)
CMYKcmyk(0%, 77.6%, 3.2%, 38.8%)
CIE-LABlab(38.74, 60.96, -36.13)
CIE-LCHlch(38.74, 70.86, 329.34°)
OKLaboklab(49.83% 0.1725 -0.0999)
OKLCHoklch(49.83% 0.199 329.9)
XYZxyz(19.8971, 10.5059, 30.2520)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2397 #239C28
analogous
#64239C #9C2397 #9C235B
triadic
#9C2397 #979C23 #23979C
tetradic
#9C2397 #9C6423 #239C28 #235B9C
square
#9C2397 #9C6423 #239C28 #235B9C
split-complementary
#9C2397 #5B9C23 #239C64
monochromatic
#380D36 #6A1867 #9C2397 #CE2EC7 #DB5ED6

Accessibility & contrast

On white

6.77
#9C2397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2397
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2397#FFFFFF#000000##FFFFFF
##9C23971.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#A2355C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2397;
/* rgb */ color: rgb(156, 35, 151);
/* oklch */ color: oklch(49.8% 0.199 329.9);
Tailwind
colors: {
  custom: {
    50: '#bd6db6',
    500: '#9c2397',
    950: '#000000',
  },
}
SCSS
$custom: #9c2397;
$custom-light: #bd6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2397",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 302.479,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4983,
    "c": 0.19932,
    "h": 329.9
  },
  "luminance": 0.10504
}

Semantic roles & 50–950 ramp

primary
#9C2397
secondary
#5BC05F
accent
#E64841
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9C2397

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

Preview Lab → · Contrast checker → · Palette generator →

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