#9E39D7#9E39D7

#9E39D7 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.2% C 0.231 H 310.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9E39D7
RGBrgb(158, 57, 215)
HSLhsl(278, 66%, 53%)
HSVhsv(278, 73%, 84%)
CMYKcmyk(26.5%, 73.5%, 0%, 15.7%)
CIE-LABlab(45.77, 65.74, -62.52)
CIE-LCHlch(45.77, 90.72, 316.44°)
OKLaboklab(56.19% 0.1489 -0.1772)
OKLCHoklch(56.19% 0.231 310)
XYZxyz(27.8270, 15.1023, 65.7259)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39D7 #72D739
analogous
#4F39D7 #9E39D7 #D739C1
triadic
#9E39D7 #D79E39 #39D79E
tetradic
#9E39D7 #D74F39 #72D739 #39C1D7
square
#9E39D7 #D74F39 #72D739 #39C1D7
split-complementary
#9E39D7 #C1D739 #39D74F
monochromatic
#59197C #7D23AF #9E39D7 #B76CE1 #D09FEC

Accessibility & contrast

On white

5.22
#9E39D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9E39D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39D7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39D7#FFFFFF#000000##FFFFFF
##9E39D71.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#126ED4
Tritanopia (blue-blind)
#965E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e39d7;
/* rgb */ color: rgb(158, 57, 215);
/* oklch */ color: oklch(56.2% 0.231 310.0);
Tailwind
colors: {
  custom: {
    50: '#c079e4',
    500: '#9e39d7',
    950: '#000000',
  },
}
SCSS
$custom: #9e39d7;
$custom-light: #c079e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39d7",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 278.354,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56192,
    "c": 0.23142,
    "h": 310
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#9E39D7
secondary
#ACD894
accent
#E93E7C
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E39D7

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

Preview Lab → · Contrast checker → · Palette generator →

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