#9C3BB9#9C3BB9

#9C3BB9 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.1% C 0.201 H 317.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9C3BB9
RGBrgb(156, 59, 185)
HSLhsl(286, 52%, 48%)
HSVhsv(286, 68%, 73%)
CMYKcmyk(15.7%, 68.1%, 0%, 27.5%)
CIE-LABlab(43.80, 58.41, -48.34)
CIE-LCHlch(43.80, 75.81, 320.39°)
OKLaboklab(54.1% 0.1477 -0.1356)
OKLCHoklch(54.1% 0.201 317.4)
XYZxyz(24.0300, 13.6996, 47.2680)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3BB9 #58B93B
analogous
#5D3BB9 #9C3BB9 #B93B97
triadic
#9C3BB9 #B99C3B #3BB99C
tetradic
#9C3BB9 #B95D3B #58B93B #3B97B9
square
#9C3BB9 #B95D3B #58B93B #3B97B9
split-complementary
#9C3BB9 #97B93B #3BB95D
monochromatic
#4E1D5C #752C8B #9C3BB9 #B564CD #CB92DC

Accessibility & contrast

On white

5.62
#9C3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C3BB9
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3BB9#FFFFFF#000000##FFFFFF
##9C3BB91.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#3F6AB6
Tritanopia (blue-blind)
#9B5375
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c3bb9;
/* rgb */ color: rgb(156, 59, 185);
/* oklch */ color: oklch(54.1% 0.201 317.4);
Tailwind
colors: {
  custom: {
    50: '#bd79cf',
    500: '#9c3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #9c3bb9;
$custom-light: #bd79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3bb9",
  "rgb": {
    "r": 156,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 286.19,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54099,
    "c": 0.20054,
    "h": 317.4
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#9C3BB9
secondary
#97C788
accent
#DB4D6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9C3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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