#9C3DB7#9C3DB7

#9C3DB7 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.196 H 317.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9C3DB7
RGBrgb(156, 61, 183)
HSLhsl(287, 50%, 48%)
HSVhsv(287, 67%, 72%)
CMYKcmyk(14.8%, 66.7%, 0%, 28.2%)
CIE-LABlab(43.98, 57.16, -46.87)
CIE-LCHlch(43.98, 73.92, 320.65°)
OKLaboklab(54.19% 0.1456 -0.1313)
OKLCHoklch(54.19% 0.196 317.9)
XYZxyz(23.9251, 13.8253, 46.1989)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3DB7 #58B73D
analogous
#5F3DB7 #9C3DB7 #B73D95
triadic
#9C3DB7 #B79C3D #3DB79C
tetradic
#9C3DB7 #B75F3D #58B73D #3D95B7
square
#9C3DB7 #B75F3D #58B73D #3D95B7
split-complementary
#9C3DB7 #95B73D #3DB75F
monochromatic
#4E1E5B #752E89 #9C3DB7 #B565CC #CB93DB

Accessibility & contrast

On white

5.58
#9C3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9C3DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3DB7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3DB7#FFFFFF#000000##FFFFFF
##9C3DB71.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c3db7;
/* rgb */ color: rgb(156, 61, 183);
/* oklch */ color: oklch(54.2% 0.196 317.9);
Tailwind
colors: {
  custom: {
    50: '#bd7acd',
    500: '#9c3db7',
    950: '#000000',
  },
}
SCSS
$custom: #9c3db7;
$custom-light: #bd7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3db7",
  "rgb": {
    "r": 156,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 286.721,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54191,
    "c": 0.19608,
    "h": 317.9
  },
  "luminance": 0.13824
}

Semantic roles & 50–950 ramp

primary
#9C3DB7
secondary
#97C689
accent
#DA4E6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9C3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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