#9D39E6#9D39E6

#9D39E6 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 57.2% C 0.245 H 306.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9D39E6
RGBrgb(157, 57, 230)
HSLhsl(275, 78%, 56%)
HSVhsv(275, 75%, 90%)
CMYKcmyk(31.7%, 75.2%, 0%, 9.8%)
CIE-LABlab(46.72, 68.74, -69.53)
CIE-LCHlch(46.72, 97.78, 314.67°)
OKLaboklab(57.17% 0.1448 -0.1978)
OKLCHoklch(57.17% 0.245 306.2)
XYZxyz(29.6475, 15.8078, 76.3369)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39E6 #82E639
analogous
#4739E6 #9D39E6 #E639D9
triadic
#9D39E6 #E69D39 #39E69D
tetradic
#9D39E6 #E64739 #82E639 #39D9E6
square
#9D39E6 #E64739 #82E639 #39D9E6
split-complementary
#9D39E6 #D9E639 #39E647
monochromatic
#5C1292 #7F19C8 #9D39E6 #B86FED #D3A6F4

Accessibility & contrast

On white

5.05
#9D39E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9D39E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39E6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39E6#FFFFFF#000000##FFFFFF
##9D39E61.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#90648E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d39e6;
/* rgb */ color: rgb(157, 57, 230);
/* oklch */ color: oklch(57.2% 0.245 306.2);
Tailwind
colors: {
  custom: {
    50: '#c07aef',
    500: '#9d39e6',
    950: '#000000',
  },
}
SCSS
$custom: #9d39e6;
$custom-light: #c07aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39e6",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 230
  },
  "hsl": {
    "h": 274.682,
    "s": 77.578,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57171,
    "c": 0.24512,
    "h": 306.2
  },
  "luminance": 0.15808
}

Semantic roles & 50–950 ramp

primary
#9D39E6
secondary
#B8E19A
accent
#F43485
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9D39E6

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

Preview Lab → · Contrast checker → · Palette generator →

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