#9C3EC5#9C3EC5

#9C3EC5 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.208 H 313.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9C3EC5
RGBrgb(156, 62, 197)
HSLhsl(282, 54%, 51%)
HSVhsv(282, 69%, 77%)
CMYKcmyk(20.8%, 68.5%, 0%, 22.7%)
CIE-LABlab(45.00, 59.57, -53.40)
CIE-LCHlch(45.00, 80.00, 318.13°)
OKLaboklab(55.2% 0.1437 -0.1505)
OKLCHoklch(55.2% 0.208 313.7)
XYZxyz(25.5092, 14.5452, 54.2762)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3EC5 #67C53E
analogous
#583EC5 #9C3EC5 #C53EAA
triadic
#9C3EC5 #C59C3E #3EC59C
tetradic
#9C3EC5 #C5583E #67C53E #3EAAC5
square
#9C3EC5 #C5583E #67C53E #3EAAC5
split-complementary
#9C3EC5 #AAC53E #3EC558
monochromatic
#532069 #782E98 #9C3EC5 #B46DD3 #CC9CE1

Accessibility & contrast

On white

5.37
#9C3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9C3EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3EC5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3EC5#FFFFFF#000000##FFFFFF
##9C3EC51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#366DC2
Tritanopia (blue-blind)
#985A7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9c3ec5;
/* rgb */ color: rgb(156, 62, 197);
/* oklch */ color: oklch(55.2% 0.208 313.7);
Tailwind
colors: {
  custom: {
    50: '#bd7bd7',
    500: '#9c3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ec5;
$custom-light: #bd7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ec5",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 281.778,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55204,
    "c": 0.20804,
    "h": 313.7
  },
  "luminance": 0.14544
}

Semantic roles & 50–950 ramp

primary
#9C3EC5
secondary
#A4CD91
accent
#DD4B77
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9C3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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