#9C3299#9C3299

#9C3299 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.184 H 329.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9C3299
RGBrgb(156, 50, 153)
HSLhsl(302, 51%, 40%)
HSVhsv(302, 68%, 61%)
CMYKcmyk(0%, 67.9%, 1.9%, 38.8%)
CIE-LABlab(40.66, 56.14, -34.31)
CIE-LCHlch(40.66, 65.79, 328.57°)
OKLaboklab(51.24% 0.1578 -0.0947)
OKLCHoklch(51.24% 0.184 329)
XYZxyz(20.6005, 11.6505, 31.2946)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3299 #329C35
analogous
#6A329C #9C3299 #9C3264
triadic
#9C3299 #999C32 #32999C
tetradic
#9C3299 #9C6A32 #329C35 #32649C
square
#9C3299 #9C6A32 #329C35 #32649C
split-complementary
#9C3299 #649C32 #329C6A
monochromatic
#3F143E #6E236C #9C3299 #C447C1 #D375D0

Accessibility & contrast

On white

6.31
#9C3299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9C3299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3299
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3299#FFFFFF#000000##FFFFFF
##9C32991.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#4E6596
Tritanopia (blue-blind)
#A14061
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c3299;
/* rgb */ color: rgb(156, 50, 153);
/* oklch */ color: oklch(51.2% 0.184 329.0);
Tailwind
colors: {
  custom: {
    50: '#bc73b7',
    500: '#9c3299',
    950: '#000000',
  },
}
SCSS
$custom: #9c3299;
$custom-light: #bc73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3299",
  "rgb": {
    "r": 156,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 301.698,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51243,
    "c": 0.18405,
    "h": 329
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#9C3299
secondary
#6FBB71
accent
#DB514D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9C3299

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

Preview Lab → · Contrast checker → · Palette generator →

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