#9E39DA#9E39DA

#9E39DA is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.4% C 0.234 H 309.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9E39DA
RGBrgb(158, 57, 218)
HSLhsl(278, 69%, 54%)
HSVhsv(278, 74%, 85%)
CMYKcmyk(27.5%, 73.9%, 0%, 14.5%)
CIE-LABlab(45.99, 66.37, -63.89)
CIE-LCHlch(45.99, 92.13, 316.09°)
OKLaboklab(56.41% 0.1484 -0.1812)
OKLCHoklch(56.41% 0.234 309.3)
XYZxyz(28.2160, 15.2579, 67.7747)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E39DA #75DA39
analogous
#4E39DA #9E39DA #DA39C6
triadic
#9E39DA #DA9E39 #39DA9E
tetradic
#9E39DA #DA4E39 #75DA39 #39C6DA
square
#9E39DA #DA4E39 #75DA39 #39C6DA
split-complementary
#9E39DA #C6DA39 #39DA4E
monochromatic
#5A1881 #7E22B4 #9E39DA #B76DE4 #D1A0ED

Accessibility & contrast

On white

5.18
#9E39DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9E39DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E39DA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E39DA#FFFFFF#000000##FFFFFF
##9E39DA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#036ED7
Tritanopia (blue-blind)
#955F87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e39da;
/* rgb */ color: rgb(158, 57, 218);
/* oklch */ color: oklch(56.4% 0.234 309.3);
Tailwind
colors: {
  custom: {
    50: '#c079e6',
    500: '#9e39da',
    950: '#000000',
  },
}
SCSS
$custom: #9e39da;
$custom-light: #c079e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e39da",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 277.64,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56408,
    "c": 0.23421,
    "h": 309.3
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#9E39DA
secondary
#AFDA95
accent
#EB3C7E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E39DA

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

Preview Lab → · Contrast checker → · Palette generator →

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