#9C2297#9C2297

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

Color values

HEX#9C2297
RGBrgb(156, 34, 151)
HSLhsl(302, 64%, 37%)
HSVhsv(302, 78%, 61%)
CMYKcmyk(0%, 78.2%, 3.2%, 38.8%)
CIE-LABlab(38.63, 61.25, -36.29)
CIE-LCHlch(38.63, 71.19, 329.35°)
OKLaboklab(49.76% 0.1733 -0.1003)
OKLCHoklch(49.76% 0.2 329.9)
XYZxyz(19.8681, 10.4479, 30.2424)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2297 #229C27
analogous
#64229C #9C2297 #9C225A
triadic
#9C2297 #979C22 #22979C
tetradic
#9C2297 #9C6422 #229C27 #225A9C
square
#9C2297 #9C6422 #229C27 #225A9C
split-complementary
#9C2297 #5A9C22 #229C64
monochromatic
#380C36 #6A1766 #9C2297 #CE2DC8 #DC5DD6

Accessibility & contrast

On white

6.80
#9C2297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9C2297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2297
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2297#FFFFFF#000000##FFFFFF
##9C22971.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c2297;
/* rgb */ color: rgb(156, 34, 151);
/* oklch */ color: oklch(49.8% 0.200 329.9);
Tailwind
colors: {
  custom: {
    50: '#bd6cb6',
    500: '#9c2297',
    950: '#000000',
  },
}
SCSS
$custom: #9c2297;
$custom-light: #bd6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2297",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 302.459,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49758,
    "c": 0.20026,
    "h": 329.9
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#9C2297
secondary
#5AC05E
accent
#E74741
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2297

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

Preview Lab → · Contrast checker → · Palette generator →

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