#9C3BCA#9C3BCA

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

Color values

HEX#9C3BCA
RGBrgb(156, 59, 202)
HSLhsl(281, 57%, 51%)
HSVhsv(281, 71%, 79%)
CMYKcmyk(22.8%, 70.8%, 0%, 20.8%)
CIE-LABlab(44.89, 61.85, -56.49)
CIE-LCHlch(44.89, 83.76, 317.60°)
OKLaboklab(55.22% 0.1463 -0.1595)
OKLCHoklch(55.22% 0.216 312.5)
XYZxyz(25.9330, 14.4609, 57.2908)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3BCA #69CA3B
analogous
#543BCA #9C3BCA #CA3BB1
triadic
#9C3BCA #CA9C3B #3BCA9C
tetradic
#9C3BCA #CA543B #69CA3B #3BB1CA
square
#9C3BCA #CA543B #69CA3B #3BB1CA
split-complementary
#9C3BCA #B1CA3B #3BCA54
monochromatic
#531E6D #782B9D #9C3BCA #B46BD7 #CD9BE4

Accessibility & contrast

On white

5.40
#9C3BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9C3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3BCA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3BCA#FFFFFF#000000##FFFFFF
##9C3BCA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#2C6CC7
Tritanopia (blue-blind)
#975A7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9c3bca;
/* rgb */ color: rgb(156, 59, 202);
/* oklch */ color: oklch(55.2% 0.216 312.5);
Tailwind
colors: {
  custom: {
    50: '#bd79db',
    500: '#9c3bca',
    950: '#000000',
  },
}
SCSS
$custom: #9c3bca;
$custom-light: #bd79db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3bca",
  "rgb": {
    "r": 156,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 280.699,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55223,
    "c": 0.21643,
    "h": 312.5
  },
  "luminance": 0.1446
}

Semantic roles & 50–950 ramp

primary
#9C3BCA
secondary
#A5D091
accent
#E14779
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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