#9C39C8#9C39C8

#9C39C8 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.217 H 313.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9C39C8
RGBrgb(156, 57, 200)
HSLhsl(282, 57%, 50%)
HSVhsv(282, 72%, 78%)
CMYKcmyk(22%, 71.5%, 0%, 21.6%)
CIE-LABlab(44.47, 62.25, -56.00)
CIE-LCHlch(44.47, 83.73, 318.02°)
OKLaboklab(54.88% 0.1485 -0.1581)
OKLCHoklch(54.88% 0.217 313.2)
XYZxyz(25.5969, 14.1651, 56.0181)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C39C8 #65C839
analogous
#5439C8 #9C39C8 #C839AD
triadic
#9C39C8 #C89C39 #39C89C
tetradic
#9C39C8 #C85439 #65C839 #39ADC8
square
#9C39C8 #C85439 #65C839 #39ADC8
split-complementary
#9C39C8 #ADC839 #39C854
monochromatic
#521D69 #772B99 #9C39C8 #B469D5 #CC99E3

Accessibility & contrast

On white

5.48
#9C39C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9C39C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C39C8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C39C8#FFFFFF#000000##FFFFFF
##9C39C81.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#2C6BC5
Tritanopia (blue-blind)
#97587D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c39c8;
/* rgb */ color: rgb(156, 57, 200);
/* oklch */ color: oklch(54.9% 0.217 313.2);
Tailwind
colors: {
  custom: {
    50: '#bd78d9',
    500: '#9c39c8',
    950: '#000000',
  },
}
SCSS
$custom: #9c39c8;
$custom-light: #bd78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c39c8",
  "rgb": {
    "r": 156,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 281.538,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54884,
    "c": 0.21689,
    "h": 313.2
  },
  "luminance": 0.14164
}

Semantic roles & 50–950 ramp

primary
#9C39C8
secondary
#A2CE8F
accent
#E04877
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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