#9C34CC#9C34CC

#9C34CC is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.226 H 312.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9C34CC
RGBrgb(156, 52, 204)
HSLhsl(281, 60%, 50%)
HSVhsv(281, 75%, 80%)
CMYKcmyk(23.5%, 74.5%, 0%, 20%)
CIE-LABlab(44.07, 64.98, -58.97)
CIE-LCHlch(44.07, 87.75, 317.78°)
OKLaboklab(54.68% 0.1527 -0.1668)
OKLCHoklch(54.68% 0.226 312.5)
XYZxyz(25.8354, 13.8843, 58.4340)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C34CC #64CC34
analogous
#5034CC #9C34CC #CC34B0
triadic
#9C34CC #CC9C34 #34CC9C
tetradic
#9C34CC #CC5034 #64CC34 #34B0CC
square
#9C34CC #CC5034 #64CC34 #34B0CC
split-complementary
#9C34CC #B0CC34 #34CC50
monochromatic
#521B6B #77279C #9C34CC #B465D8 #CC96E5

Accessibility & contrast

On white

5.56
#9C34CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9C34CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C34CC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C34CC#FFFFFF#000000##FFFFFF
##9C34CC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#1F6AC9
Tritanopia (blue-blind)
#96577E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c34cc;
/* rgb */ color: rgb(156, 52, 204);
/* oklch */ color: oklch(54.7% 0.226 312.5);
Tailwind
colors: {
  custom: {
    50: '#be76dc',
    500: '#9c34cc',
    950: '#000000',
  },
}
SCSS
$custom: #9c34cc;
$custom-light: #be76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c34cc",
  "rgb": {
    "r": 156,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 281.053,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.22608,
    "h": 312.5
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#9C34CC
secondary
#A1D08C
accent
#E34577
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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