#9C339A#9C339A

#9C339A is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.184 H 328.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9C339A
RGBrgb(156, 51, 154)
HSLhsl(301, 51%, 41%)
HSVhsv(301, 67%, 61%)
CMYKcmyk(0%, 67.3%, 1.3%, 38.8%)
CIE-LABlab(40.85, 55.92, -34.60)
CIE-LCHlch(40.85, 65.76, 328.25°)
OKLaboklab(51.4% 0.1568 -0.0956)
OKLCHoklch(51.4% 0.184 328.6)
XYZxyz(20.7266, 11.7701, 31.7458)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C339A #339C35
analogous
#69339C #9C339A #9C3365
triadic
#9C339A #9A9C33 #339A9C
tetradic
#9C339A #9C6933 #339C35 #33659C
square
#9C339A #9C6933 #339C35 #33659C
split-complementary
#9C339A #659C33 #339C69
monochromatic
#40153F #6E246C #9C339A #C349C1 #D377D1

Accessibility & contrast

On white

6.26
#9C339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9C339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C339A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C339A#FFFFFF#000000##FFFFFF
##9C339A1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579D
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#A14162
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c339a;
/* rgb */ color: rgb(156, 51, 154);
/* oklch */ color: oklch(51.4% 0.184 328.6);
Tailwind
colors: {
  custom: {
    50: '#bc74b8',
    500: '#9c339a',
    950: '#000000',
  },
}
SCSS
$custom: #9c339a;
$custom-light: #bc74b8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c339a",
  "rgb": {
    "r": 156,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 301.143,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.514,
    "c": 0.18358,
    "h": 328.6
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#9C339A
secondary
#70BB71
accent
#DA504E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9C339A

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

Preview Lab → · Contrast checker → · Palette generator →

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