#9C328D#9C328D

#9C328D is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.6% C 0.175 H 334.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9C328D
RGBrgb(156, 50, 141)
HSLhsl(308, 51%, 40%)
HSVhsv(308, 68%, 61%)
CMYKcmyk(0%, 67.9%, 9.6%, 38.8%)
CIE-LABlab(40.04, 54.15, -27.99)
CIE-LCHlch(40.04, 60.96, 332.66°)
OKLaboklab(50.6% 0.1569 -0.0765)
OKLCHoklch(50.6% 0.175 334)
XYZxyz(19.6588, 11.2738, 26.3348)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C328D #329C41
analogous
#76329C #9C328D #9C3258
triadic
#9C328D #8D9C32 #328D9C
tetradic
#9C328D #9C7632 #329C41 #32589C
square
#9C328D #9C7632 #329C41 #32589C
split-complementary
#9C328D #589C32 #329C76
monochromatic
#3F1439 #6E2363 #9C328D #C447B2 #D375C6

Accessibility & contrast

On white

6.45
#9C328D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9C328D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C328D
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C328D#FFFFFF#000000##FFFFFF
##9C328D1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305490
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#A33A5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c328d;
/* rgb */ color: rgb(156, 50, 141);
/* oklch */ color: oklch(50.6% 0.175 334.0);
Tailwind
colors: {
  custom: {
    50: '#bc73ae',
    500: '#9c328d',
    950: '#000000',
  },
}
SCSS
$custom: #9c328d;
$custom-light: #bc73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c328d",
  "rgb": {
    "r": 156,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 308.491,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50596,
    "c": 0.17453,
    "h": 334
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#9C328D
secondary
#6FBB79
accent
#DB614D
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9C328D

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

Preview Lab → · Contrast checker → · Palette generator →

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