#9C3CB7#9C3CB7

#9C3CB7 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.1% C 0.197 H 318.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9C3CB7
RGBrgb(156, 60, 183)
HSLhsl(287, 51%, 48%)
HSVhsv(287, 67%, 72%)
CMYKcmyk(14.8%, 67.2%, 0%, 28.2%)
CIE-LABlab(43.83, 57.59, -47.12)
CIE-LCHlch(43.83, 74.41, 320.71°)
OKLaboklab(54.08% 0.1467 -0.1321)
OKLCHoklch(54.08% 0.197 318)
XYZxyz(23.8722, 13.7196, 46.1812)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3CB7 #57B73C
analogous
#5E3CB7 #9C3CB7 #B73C95
triadic
#9C3CB7 #B79C3C #3CB79C
tetradic
#9C3CB7 #B75E3C #57B73C #3C95B7
square
#9C3CB7 #B75E3C #57B73C #3C95B7
split-complementary
#9C3CB7 #95B73C #3CB75E
monochromatic
#4D1E5B #752D89 #9C3CB7 #B564CC #CB92DB

Accessibility & contrast

On white

5.61
#9C3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9C3CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3CB7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3CB7#FFFFFF#000000##FFFFFF
##9C3CB71.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0461BB
Deuteranopia (green-blind)
#416BB4
Tritanopia (blue-blind)
#9B5375
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c3cb7;
/* rgb */ color: rgb(156, 60, 183);
/* oklch */ color: oklch(54.1% 0.197 318.0);
Tailwind
colors: {
  custom: {
    50: '#bd79cd',
    500: '#9c3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #9c3cb7;
$custom-light: #bd79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3cb7",
  "rgb": {
    "r": 156,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 286.829,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54081,
    "c": 0.19739,
    "h": 318
  },
  "luminance": 0.13719
}

Semantic roles & 50–950 ramp

primary
#9C3CB7
secondary
#96C688
accent
#DA4E6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9C3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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