#9E39DE#9E39DE

#9E39DE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.7% C 0.238 H 308.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9E39DE
RGBrgb(158, 57, 222)
HSLhsl(277, 71%, 55%)
HSVhsv(277, 74%, 87%)
CMYKcmyk(28.8%, 74.3%, 0%, 12.9%)
CIE-LABlab(46.27, 67.21, -65.71)
CIE-LCHlch(46.27, 94.00, 315.65°)
OKLaboklab(56.7% 0.1477 -0.1865)
OKLCHoklch(56.7% 0.238 308.4)
XYZxyz(28.7458, 15.4698, 70.5647)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39DE #79DE39
analogous
#4B39DE #9E39DE #DE39CC
triadic
#9E39DE #DE9E39 #39DE9E
tetradic
#9E39DE #DE4B39 #79DE39 #39CCDE
square
#9E39DE #DE4B39 #79DE39 #39CCDE
split-complementary
#9E39DE #CCDE39 #39DE4B
monochromatic
#5B1686 #7E1FBB #9E39DE #B86DE7 #D1A2EF

Accessibility & contrast

On white

5.13
#9E39DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9E39DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39DE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39DE#FFFFFF#000000##FFFFFF
##9E39DE1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#946189
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e39de;
/* rgb */ color: rgb(158, 57, 222);
/* oklch */ color: oklch(56.7% 0.238 308.4);
Tailwind
colors: {
  custom: {
    50: '#c079e9',
    500: '#9e39de',
    950: '#000000',
  },
}
SCSS
$custom: #9e39de;
$custom-light: #c079e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39de",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 222
  },
  "hsl": {
    "h": 276.727,
    "s": 71.429,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56699,
    "c": 0.23792,
    "h": 308.4
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#9E39DE
secondary
#B2DC97
accent
#EE3A80
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E39DE

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

Preview Lab → · Contrast checker → · Palette generator →

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