#9C3E95#9C3E95

#9C3E95 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.4% C 0.164 H 330.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9C3E95
RGBrgb(156, 62, 149)
HSLhsl(304, 43%, 43%)
HSVhsv(304, 60%, 61%)
CMYKcmyk(0%, 60.3%, 4.5%, 38.8%)
CIE-LABlab(42.28, 50.36, -29.33)
CIE-LCHlch(42.28, 58.28, 329.78°)
OKLaboklab(52.36% 0.1429 -0.0804)
OKLCHoklch(52.36% 0.164 330.6)
XYZxyz(20.8576, 12.6845, 29.7777)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3E95 #3E9C45
analogous
#743E9C #9C3E95 #9C3E66
triadic
#9C3E95 #959C3E #3E959C
tetradic
#9C3E95 #9C743E #3E9C45 #3E669C
square
#9C3E95 #9C743E #3E9C45 #3E669C
split-complementary
#9C3E95 #669C3E #3E9C74
monochromatic
#441B41 #702D6B #9C3E95 #BD5AB6 #CF86C9

Accessibility & contrast

On white

5.94
#9C3E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9C3E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3E95
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3E95#FFFFFF#000000##FFFFFF
##9C3E951.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385B98
Deuteranopia (green-blind)
#576892
Tritanopia (blue-blind)
#A24764
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c3e95;
/* rgb */ color: rgb(156, 62, 149);
/* oklch */ color: oklch(52.4% 0.164 330.6);
Tailwind
colors: {
  custom: {
    50: '#bc79b4',
    500: '#9c3e95',
    950: '#000000',
  },
}
SCSS
$custom: #9c3e95;
$custom-light: #bc79b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3e95",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 304.468,
    "s": 43.119,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.164,
    "h": 330.6
  },
  "luminance": 0.12683
}

Semantic roles & 50–950 ramp

primary
#9C3E95
secondary
#7DB981
accent
#D35E55
background
#FBF7FB
surface
#F7EEF6
border
#D0C9D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9C3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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