#9C35AC#9C35AC

#9C35AC is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.196 H 322.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9C35AC
RGBrgb(156, 53, 172)
HSLhsl(292, 53%, 44%)
HSVhsv(292, 69%, 67%)
CMYKcmyk(9.3%, 69.2%, 0%, 32.5%)
CIE-LABlab(42.14, 58.35, -43.31)
CIE-LCHlch(42.14, 72.67, 323.42°)
OKLaboklab(52.66% 0.1547 -0.1209)
OKLCHoklch(52.66% 0.196 322)
XYZxyz(22.4290, 12.5939, 40.2712)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C35AC #45AC35
analogous
#6135AC #9C35AC #AC3581
triadic
#9C35AC #AC9C35 #35AC9C
tetradic
#9C35AC #AC6135 #45AC35 #3581AC
square
#9C35AC #AC6135 #45AC35 #3581AC
split-complementary
#9C35AC #81AC35 #35AC61
monochromatic
#47184E #72277D #9C35AC #BA54CA #CD83D9

Accessibility & contrast

On white

5.97
#9C35AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9C35AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C35AC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C35AC#FFFFFF#000000##FFFFFF
##9C35AC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5CAF
Deuteranopia (green-blind)
#4567A9
Tritanopia (blue-blind)
#9E4A6D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c35ac;
/* rgb */ color: rgb(156, 53, 172);
/* oklch */ color: oklch(52.7% 0.196 322.0);
Tailwind
colors: {
  custom: {
    50: '#bd75c5',
    500: '#9c35ac',
    950: '#000000',
  },
}
SCSS
$custom: #9c35ac;
$custom-light: #bd75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c35ac",
  "rgb": {
    "r": 156,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 291.933,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52661,
    "c": 0.19636,
    "h": 322
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

primary
#9C35AC
secondary
#84C27B
accent
#DC4C5F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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