#9E39DF#9E39DF

#9E39DF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.8% C 0.239 H 308.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9E39DF
RGBrgb(158, 57, 223)
HSLhsl(277, 72%, 55%)
HSVhsv(277, 74%, 87%)
CMYKcmyk(29.1%, 74.4%, 0%, 12.5%)
CIE-LABlab(46.34, 67.42, -66.17)
CIE-LCHlch(46.34, 94.47, 315.54°)
OKLaboklab(56.77% 0.1475 -0.1879)
OKLCHoklch(56.77% 0.239 308.1)
XYZxyz(28.8802, 15.5235, 71.2727)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39DF #7ADF39
analogous
#4B39DF #9E39DF #DF39CD
triadic
#9E39DF #DF9E39 #39DF9E
tetradic
#9E39DF #DF4B39 #7ADF39 #39CDDF
square
#9E39DF #DF4B39 #7ADF39 #39CDDF
split-complementary
#9E39DF #CDDF39 #39DF4B
monochromatic
#5B1688 #7F1EBC #9E39DF #B86EE8 #D2A2F0

Accessibility & contrast

On white

5.12
#9E39DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9E39DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39DF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39DF#FFFFFF#000000##FFFFFF
##9E39DF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#94618A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e39df;
/* rgb */ color: rgb(158, 57, 223);
/* oklch */ color: oklch(56.8% 0.239 308.1);
Tailwind
colors: {
  custom: {
    50: '#c079ea',
    500: '#9e39df',
    950: '#000000',
  },
}
SCSS
$custom: #9e39df;
$custom-light: #c079ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39df",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 223
  },
  "hsl": {
    "h": 276.506,
    "s": 72.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56773,
    "c": 0.23885,
    "h": 308.1
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#9E39DF
secondary
#B2DD97
accent
#EF3980
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E39DF

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

Preview Lab → · Contrast checker → · Palette generator →

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