#9C39CE#9C39CE

#9C39CE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.3% C 0.222 H 311.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9C39CE
RGBrgb(156, 57, 206)
HSLhsl(280, 60%, 52%)
HSVhsv(280, 72%, 81%)
CMYKcmyk(24.3%, 72.3%, 0%, 19.2%)
CIE-LABlab(44.87, 63.48, -58.82)
CIE-LCHlch(44.87, 86.54, 317.18°)
OKLaboklab(55.3% 0.1477 -0.1663)
OKLCHoklch(55.3% 0.222 311.6)
XYZxyz(26.3119, 14.4511, 59.7838)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C39CE #6BCE39
analogous
#5239CE #9C39CE #CE39B6
triadic
#9C39CE #CE9C39 #39CE9C
tetradic
#9C39CE #CE5239 #6BCE39 #39B6CE
square
#9C39CE #CE5239 #6BCE39 #39B6CE
split-complementary
#9C39CE #B6CE39 #39CE52
monochromatic
#541C71 #7928A2 #9C39CE #B56ADA #CD9BE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C39CE#FFFFFF#000000##FFFFFF
##9C39CE1.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)
#0065D2
Deuteranopia (green-blind)
#236CCB
Tritanopia (blue-blind)
#965A80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9c39ce;
/* rgb */ color: rgb(156, 57, 206);
/* oklch */ color: oklch(55.3% 0.222 311.6);
Tailwind
colors: {
  custom: {
    50: '#be78de',
    500: '#9c39ce',
    950: '#000000',
  },
}
SCSS
$custom: #9c39ce;
$custom-light: #be78de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c39ce",
  "rgb": {
    "r": 156,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 279.866,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.22246,
    "h": 311.6
  },
  "luminance": 0.1445
}

Semantic roles & 50–950 ramp

primary
#9C39CE
secondary
#A7D291
accent
#E3447A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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