#9D39DE#9D39DE

#9D39DE is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.6% C 0.238 H 308.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9D39DE
RGBrgb(157, 57, 222)
HSLhsl(276, 71%, 55%)
HSVhsv(276, 74%, 87%)
CMYKcmyk(29.3%, 74.3%, 0%, 12.9%)
CIE-LABlab(46.14, 67.03, -65.94)
CIE-LCHlch(46.14, 94.03, 315.47°)
OKLaboklab(56.58% 0.1464 -0.1872)
OKLCHoklch(56.58% 0.238 308)
XYZxyz(28.5498, 15.3687, 70.5555)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39DE #7ADE39
analogous
#4B39DE #9D39DE #DE39CC
triadic
#9D39DE #DE9D39 #39DE9D
tetradic
#9D39DE #DE4B39 #7ADE39 #39CCDE
square
#9D39DE #DE4B39 #7ADE39 #39CCDE
split-complementary
#9D39DE #CCDE39 #39DE4B
monochromatic
#5A1686 #7D1FBB #9D39DE #B76DE7 #D1A2EF

Accessibility & contrast

On white

5.16
#9D39DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9D39DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39DE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39DE#FFFFFF#000000##FFFFFF
##9D39DE1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#926189
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d39de;
/* rgb */ color: rgb(157, 57, 222);
/* oklch */ color: oklch(56.6% 0.238 308.0);
Tailwind
colors: {
  custom: {
    50: '#bf79e9',
    500: '#9d39de',
    950: '#000000',
  },
}
SCSS
$custom: #9d39de;
$custom-light: #bf79e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39de",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 222
  },
  "hsl": {
    "h": 276.364,
    "s": 71.429,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56575,
    "c": 0.23766,
    "h": 308
  },
  "luminance": 0.15368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D39DE

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

Preview Lab → · Contrast checker → · Palette generator →

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