#9D39DF#9D39DF

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

Color values

HEX#9D39DF
RGBrgb(157, 57, 223)
HSLhsl(276, 72%, 55%)
HSVhsv(276, 74%, 87%)
CMYKcmyk(29.6%, 74.4%, 0%, 12.5%)
CIE-LABlab(46.21, 67.24, -66.39)
CIE-LCHlch(46.21, 94.50, 315.37°)
OKLaboklab(56.65% 0.1462 -0.1886)
OKLCHoklch(56.65% 0.239 307.8)
XYZxyz(28.6842, 15.4225, 71.2635)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39DF #7BDF39
analogous
#4A39DF #9D39DF #DF39CE
triadic
#9D39DF #DF9D39 #39DF9D
tetradic
#9D39DF #DF4A39 #7BDF39 #39CEDF
square
#9D39DF #DF4A39 #7BDF39 #39CEDF
split-complementary
#9D39DF #CEDF39 #39DF4A
monochromatic
#5A1688 #7E1EBC #9D39DF #B76EE8 #D1A2F0

Accessibility & contrast

On white

5.14
#9D39DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9D39DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39DF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39DF#FFFFFF#000000##FFFFFF
##9D39DF1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#92618A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d39df;
/* rgb */ color: rgb(157, 57, 223);
/* oklch */ color: oklch(56.6% 0.239 307.8);
Tailwind
colors: {
  custom: {
    50: '#bf79ea',
    500: '#9d39df',
    950: '#000000',
  },
}
SCSS
$custom: #9d39df;
$custom-light: #bf79ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39df",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 223
  },
  "hsl": {
    "h": 276.145,
    "s": 72.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.2386,
    "h": 307.8
  },
  "luminance": 0.15422
}

Semantic roles & 50–950 ramp

primary
#9D39DF
secondary
#B3DD97
accent
#EF3981
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D39DF

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

Preview Lab → · Contrast checker → · Palette generator →

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