#9C39E6#9C39E6

#9C39E6 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 57.0% C 0.245 H 305.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9C39E6
RGBrgb(156, 57, 230)
HSLhsl(274, 78%, 56%)
HSVhsv(274, 75%, 90%)
CMYKcmyk(32.2%, 75.2%, 0%, 9.8%)
CIE-LABlab(46.59, 68.57, -69.75)
CIE-LCHlch(46.59, 97.82, 314.51°)
OKLaboklab(57.05% 0.1434 -0.1985)
OKLCHoklch(57.05% 0.245 305.9)
XYZxyz(29.4532, 15.7076, 76.3278)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C39E6 #83E639
analogous
#4639E6 #9C39E6 #E639DA
triadic
#9C39E6 #E69C39 #39E69C
tetradic
#9C39E6 #E64639 #83E639 #39DAE6
square
#9C39E6 #E64639 #83E639 #39DAE6
split-complementary
#9C39E6 #DAE639 #39E646
monochromatic
#5C1292 #7E19C8 #9C39E6 #B76FED #D2A6F4

Accessibility & contrast

On white

5.07
#9C39E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9C39E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C39E6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C39E6#FFFFFF#000000##FFFFFF
##9C39E61.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#8F658E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c39e6;
/* rgb */ color: rgb(156, 57, 230);
/* oklch */ color: oklch(57.0% 0.245 305.9);
Tailwind
colors: {
  custom: {
    50: '#bf79ef',
    500: '#9c39e6',
    950: '#000000',
  },
}
SCSS
$custom: #9c39e6;
$custom-light: #bf79ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c39e6",
  "rgb": {
    "r": 156,
    "g": 57,
    "b": 230
  },
  "hsl": {
    "h": 274.335,
    "s": 77.578,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5705,
    "c": 0.24489,
    "h": 305.9
  },
  "luminance": 0.15707
}

Semantic roles & 50–950 ramp

primary
#9C39E6
secondary
#B8E19A
accent
#F43486
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9C39E6

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

Preview Lab → · Contrast checker → · Palette generator →

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