#9C34CB#9C34CB

#9C34CB is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.225 H 312.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9C34CB
RGBrgb(156, 52, 203)
HSLhsl(281, 59%, 50%)
HSVhsv(281, 74%, 80%)
CMYKcmyk(23.2%, 74.4%, 0%, 20.4%)
CIE-LABlab(44.00, 64.78, -58.50)
CIE-LCHlch(44.00, 87.28, 317.92°)
OKLaboklab(54.61% 0.1528 -0.1654)
OKLCHoklch(54.61% 0.225 312.7)
XYZxyz(25.7158, 13.8365, 57.8044)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C34CB #63CB34
analogous
#5134CB #9C34CB #CB34AE
triadic
#9C34CB #CB9C34 #34CB9C
tetradic
#9C34CB #CB5134 #63CB34 #34AECB
square
#9C34CB #CB5134 #63CB34 #34AECB
split-complementary
#9C34CB #AECB34 #34CB51
monochromatic
#511B6A #77289A #9C34CB #B465D7 #CC95E4

Accessibility & contrast

On white

5.57
#9C34CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9C34CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C34CB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C34CB#FFFFFF#000000##FFFFFF
##9C34CB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#216AC8
Tritanopia (blue-blind)
#97567D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c34cb;
/* rgb */ color: rgb(156, 52, 203);
/* oklch */ color: oklch(54.6% 0.225 312.7);
Tailwind
colors: {
  custom: {
    50: '#be76dc',
    500: '#9c34cb',
    950: '#000000',
  },
}
SCSS
$custom: #9c34cb;
$custom-light: #be76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c34cb",
  "rgb": {
    "r": 156,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 281.325,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.54614,
    "c": 0.22518,
    "h": 312.7
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

primary
#9C34CB
secondary
#A1CF8C
accent
#E24576
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C34CB

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

Preview Lab → · Contrast checker → · Palette generator →

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