#9C34CA#9C34CA

#9C34CA is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.224 H 313.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9C34CA
RGBrgb(156, 52, 202)
HSLhsl(282, 59%, 50%)
HSVhsv(282, 74%, 79%)
CMYKcmyk(22.8%, 74.3%, 0%, 20.8%)
CIE-LABlab(43.93, 64.58, -58.03)
CIE-LCHlch(43.93, 86.82, 318.06°)
OKLaboklab(54.54% 0.153 -0.164)
OKLCHoklch(54.54% 0.224 313)
XYZxyz(25.5971, 13.7890, 57.1788)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C34CA #62CA34
analogous
#5134CA #9C34CA #CA34AD
triadic
#9C34CA #CA9C34 #34CA9C
tetradic
#9C34CA #CA5134 #62CA34 #34ADCA
square
#9C34CA #CA5134 #62CA34 #34ADCA
split-complementary
#9C34CA #ADCA34 #34CA51
monochromatic
#511B69 #762799 #9C34CA #B464D7 #CB95E4

Accessibility & contrast

On white

5.59
#9C34CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9C34CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C34CA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C34CA#FFFFFF#000000##FFFFFF
##9C34CA1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#236AC7
Tritanopia (blue-blind)
#97567D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c34ca;
/* rgb */ color: rgb(156, 52, 202);
/* oklch */ color: oklch(54.5% 0.224 313.0);
Tailwind
colors: {
  custom: {
    50: '#be76db',
    500: '#9c34ca',
    950: '#000000',
  },
}
SCSS
$custom: #9c34ca;
$custom-light: #be76db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c34ca",
  "rgb": {
    "r": 156,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 281.6,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54543,
    "c": 0.22427,
    "h": 313
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

primary
#9C34CA
secondary
#A0CF8B
accent
#E24676
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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