#9C3EC6#9C3EC6

#9C3EC6 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.209 H 313.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9C3EC6
RGBrgb(156, 62, 198)
HSLhsl(281, 54%, 51%)
HSVhsv(281, 69%, 78%)
CMYKcmyk(21.2%, 68.7%, 0%, 22.4%)
CIE-LABlab(45.07, 59.77, -53.88)
CIE-LCHlch(45.07, 80.47, 317.97°)
OKLaboklab(55.27% 0.1436 -0.1519)
OKLCHoklch(55.27% 0.209 313.4)
XYZxyz(25.6242, 14.5912, 54.8817)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3EC6 #68C63E
analogous
#583EC6 #9C3EC6 #C63EAC
triadic
#9C3EC6 #C69C3E #3EC69C
tetradic
#9C3EC6 #C6583E #68C63E #3EACC6
square
#9C3EC6 #C6583E #68C63E #3EACC6
split-complementary
#9C3EC6 #ACC63E #3EC658
monochromatic
#531F6A #782D99 #9C3EC6 #B46DD4 #CC9CE2

Accessibility & contrast

On white

5.36
#9C3EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9C3EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3EC6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3EC6#FFFFFF#000000##FFFFFF
##9C3EC61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CA
Deuteranopia (green-blind)
#346DC3
Tritanopia (blue-blind)
#985A7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9c3ec6;
/* rgb */ color: rgb(156, 62, 198);
/* oklch */ color: oklch(55.3% 0.209 313.4);
Tailwind
colors: {
  custom: {
    50: '#bd7bd8',
    500: '#9c3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ec6;
$custom-light: #bd7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ec6",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 281.471,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5527,
    "c": 0.209,
    "h": 313.4
  },
  "luminance": 0.1459
}

Semantic roles & 50–950 ramp

primary
#9C3EC6
secondary
#A4CE92
accent
#DE4A78
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9C3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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