#9C3BB5#9C3BB5

#9C3BB5 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.197 H 318.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9C3BB5
RGBrgb(156, 59, 181)
HSLhsl(288, 51%, 47%)
HSVhsv(288, 67%, 71%)
CMYKcmyk(13.8%, 67.4%, 0%, 29%)
CIE-LABlab(43.56, 57.62, -46.38)
CIE-LCHlch(43.56, 73.96, 321.17°)
OKLaboklab(53.85% 0.1479 -0.1299)
OKLCHoklch(53.85% 0.197 318.7)
XYZxyz(23.6136, 13.5331, 45.0754)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3BB5 #54B53B
analogous
#5F3BB5 #9C3BB5 #B53B91
triadic
#9C3BB5 #B59C3B #3BB59C
tetradic
#9C3BB5 #B55F3B #54B53B #3B91B5
square
#9C3BB5 #B55F3B #54B53B #3B91B5
split-complementary
#9C3BB5 #91B53B #3BB55F
monochromatic
#4C1D59 #742C87 #9C3BB5 #B662CC #CB90DB

Accessibility & contrast

On white

5.67
#9C3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9C3BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3BB5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3BB5#FFFFFF#000000##FFFFFF
##9C3BB51.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0761B9
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#9C5173
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c3bb5;
/* rgb */ color: rgb(156, 59, 181);
/* oklch */ color: oklch(53.8% 0.197 318.7);
Tailwind
colors: {
  custom: {
    50: '#bd79cc',
    500: '#9c3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #9c3bb5;
$custom-light: #bd79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3bb5",
  "rgb": {
    "r": 156,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 287.705,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.19684,
    "h": 318.7
  },
  "luminance": 0.13532
}

Semantic roles & 50–950 ramp

primary
#9C3BB5
secondary
#93C686
accent
#DA4D6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9C3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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