#9C2296#9C2296

#9C2296 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.200 H 330.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9C2296
RGBrgb(156, 34, 150)
HSLhsl(303, 64%, 37%)
HSVhsv(303, 78%, 61%)
CMYKcmyk(0%, 78.2%, 3.8%, 38.8%)
CIE-LABlab(38.58, 61.09, -35.78)
CIE-LCHlch(38.58, 70.79, 329.64°)
OKLaboklab(49.7% 0.1733 -0.0988)
OKLCHoklch(49.7% 0.2 330.3)
XYZxyz(19.7873, 10.4156, 29.8165)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2296 #229C28
analogous
#65229C #9C2296 #9C2259
triadic
#9C2296 #969C22 #22969C
tetradic
#9C2296 #9C6522 #229C28 #22599C
square
#9C2296 #9C6522 #229C28 #22599C
split-complementary
#9C2296 #599C22 #229C65
monochromatic
#380C35 #6A1766 #9C2296 #CE2DC6 #DC5DD5

Accessibility & contrast

On white

6.81
#9C2296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2296
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2296#FFFFFF#000000##FFFFFF
##9C22961.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105099
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#A2345B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2296;
/* rgb */ color: rgb(156, 34, 150);
/* oklch */ color: oklch(49.7% 0.200 330.3);
Tailwind
colors: {
  custom: {
    50: '#bd6cb5',
    500: '#9c2296',
    950: '#000000',
  },
}
SCSS
$custom: #9c2296;
$custom-light: #bd6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2296",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 302.951,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.497,
    "c": 0.19953,
    "h": 330.3
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#9C2296
secondary
#5AC05F
accent
#E74941
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2296

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

Preview Lab → · Contrast checker → · Palette generator →

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