#9C3296#9C3296

#9C3296 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.182 H 330.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9C3296
RGBrgb(156, 50, 150)
HSLhsl(303, 51%, 40%)
HSVhsv(303, 68%, 61%)
CMYKcmyk(0%, 67.9%, 3.8%, 38.8%)
CIE-LABlab(40.50, 55.63, -32.74)
CIE-LCHlch(40.50, 64.55, 329.52°)
OKLaboklab(51.08% 0.1577 -0.0902)
OKLCHoklch(51.08% 0.182 330.2)
XYZxyz(20.3558, 11.5526, 30.0060)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3296 #329C38
analogous
#6D329C #9C3296 #9C3261
triadic
#9C3296 #969C32 #32969C
tetradic
#9C3296 #9C6D32 #329C38 #32619C
square
#9C3296 #9C6D32 #329C38 #32619C
split-complementary
#9C3296 #619C32 #329C6D
monochromatic
#3F143D #6E2369 #9C3296 #C447BD #D375CE

Accessibility & contrast

On white

6.34
#9C3296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9C3296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3296
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3296#FFFFFF#000000##FFFFFF
##9C32961.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#506593
Tritanopia (blue-blind)
#A23E60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c3296;
/* rgb */ color: rgb(156, 50, 150);
/* oklch */ color: oklch(51.1% 0.182 330.2);
Tailwind
colors: {
  custom: {
    50: '#bc73b5',
    500: '#9c3296',
    950: '#000000',
  },
}
SCSS
$custom: #9c3296;
$custom-light: #bc73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3296",
  "rgb": {
    "r": 156,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 303.396,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51077,
    "c": 0.18162,
    "h": 330.2
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

primary
#9C3296
secondary
#6FBB73
accent
#DB554D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9C3296

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

Preview Lab → · Contrast checker → · Palette generator →

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