#9C3EB7#9C3EB7

#9C3EB7 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.195 H 317.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9C3EB7
RGBrgb(156, 62, 183)
HSLhsl(287, 49%, 48%)
HSVhsv(287, 66%, 72%)
CMYKcmyk(14.8%, 66.1%, 0%, 28.2%)
CIE-LABlab(44.14, 56.73, -46.62)
CIE-LCHlch(44.14, 73.43, 320.58°)
OKLaboklab(54.3% 0.1445 -0.1306)
OKLCHoklch(54.3% 0.195 317.9)
XYZxyz(23.9790, 13.9331, 46.2168)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3EB7 #59B73E
analogous
#603EB7 #9C3EB7 #B73E95
triadic
#9C3EB7 #B79C3E #3EB79C
tetradic
#9C3EB7 #B7603E #59B73E #3E95B7
square
#9C3EB7 #B7603E #59B73E #3E95B7
split-complementary
#9C3EB7 #95B73E #3EB760
monochromatic
#4E1F5C #752F89 #9C3EB7 #B567CB #CB94DB

Accessibility & contrast

On white

5.55
#9C3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9C3EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3EB7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3EB7#FFFFFF#000000##FFFFFF
##9C3EB71.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E62BB
Deuteranopia (green-blind)
#436BB4
Tritanopia (blue-blind)
#9B5475
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c3eb7;
/* rgb */ color: rgb(156, 62, 183);
/* oklch */ color: oklch(54.3% 0.195 317.9);
Tailwind
colors: {
  custom: {
    50: '#bd7acd',
    500: '#9c3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #9c3eb7;
$custom-light: #bd7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3eb7",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 286.612,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.19476,
    "h": 317.9
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

primary
#9C3EB7
secondary
#98C68A
accent
#D94F6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9C3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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