#9C3ECA#9C3ECA

#9C3ECA is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.5% C 0.213 H 312.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9C3ECA
RGBrgb(156, 62, 202)
HSLhsl(280, 57%, 52%)
HSVhsv(280, 69%, 79%)
CMYKcmyk(22.8%, 69.3%, 0%, 20.8%)
CIE-LABlab(45.33, 60.61, -55.77)
CIE-LCHlch(45.33, 82.36, 317.38°)
OKLaboklab(55.54% 0.1432 -0.1574)
OKLCHoklch(55.54% 0.213 312.3)
XYZxyz(26.0917, 14.7782, 57.3437)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3ECA #6CCA3E
analogous
#563ECA #9C3ECA #CA3EB2
triadic
#9C3ECA #CA9C3E #3ECA9C
tetradic
#9C3ECA #CA563E #6CCA3E #3EB2CA
square
#9C3ECA #CA563E #6CCA3E #3EB2CA
split-complementary
#9C3ECA #B2CA3E #3ECA56
monochromatic
#551F6F #792C9F #9C3ECA #B56ED7 #CD9EE4

Accessibility & contrast

On white

5.31
#9C3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9C3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3ECA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3ECA#FFFFFF#000000##FFFFFF
##9C3ECA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#975C80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9c3eca;
/* rgb */ color: rgb(156, 62, 202);
/* oklch */ color: oklch(55.5% 0.213 312.3);
Tailwind
colors: {
  custom: {
    50: '#bd7bdb',
    500: '#9c3eca',
    950: '#000000',
  },
}
SCSS
$custom: #9c3eca;
$custom-light: #bd7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3eca",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 280.286,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55539,
    "c": 0.21282,
    "h": 312.3
  },
  "luminance": 0.14777
}

Semantic roles & 50–950 ramp

primary
#9C3ECA
secondary
#A7D193
accent
#E0487A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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