#9C39CB#9C39CB

#9C39CB is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.220 H 312.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9C39CB
RGBrgb(156, 57, 203)
HSLhsl(281, 58%, 51%)
HSVhsv(281, 72%, 80%)
CMYKcmyk(23.2%, 71.9%, 0%, 20.4%)
CIE-LABlab(44.67, 62.86, -57.41)
CIE-LCHlch(44.67, 85.14, 317.59°)
OKLaboklab(55.09% 0.1481 -0.1622)
OKLCHoklch(55.09% 0.22 312.4)
XYZxyz(25.9510, 14.3067, 57.8828)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C39CB #68CB39
analogous
#5339CB #9C39CB #CB39B1
triadic
#9C39CB #CB9C39 #39CB9C
tetradic
#9C39CB #CB5339 #68CB39 #39B1CB
square
#9C39CB #CB5339 #68CB39 #39B1CB
split-complementary
#9C39CB #B1CB39 #39CB53
monochromatic
#531D6D #78299D #9C39CB #B469D8 #CC9AE4

Accessibility & contrast

On white

5.44
#9C39CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9C39CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C39CB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C39CB#FFFFFF#000000##FFFFFF
##9C39CB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#286CC8
Tritanopia (blue-blind)
#97597F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9c39cb;
/* rgb */ color: rgb(156, 57, 203);
/* oklch */ color: oklch(55.1% 0.220 312.4);
Tailwind
colors: {
  custom: {
    50: '#be78dc',
    500: '#9c39cb',
    950: '#000000',
  },
}
SCSS
$custom: #9c39cb;
$custom-light: #be78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c39cb",
  "rgb": {
    "r": 156,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 280.685,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5509,
    "c": 0.21968,
    "h": 312.4
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#9C39CB
secondary
#A4D090
accent
#E24678
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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