#9D39C5#9D39C5

#9D39C5 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.214 H 314.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9D39C5
RGBrgb(157, 57, 197)
HSLhsl(283, 55%, 50%)
HSVhsv(283, 71%, 77%)
CMYKcmyk(20.3%, 71.1%, 0%, 22.7%)
CIE-LABlab(44.41, 61.84, -54.34)
CIE-LCHlch(44.41, 82.33, 318.69°)
OKLaboklab(54.81% 0.1501 -0.1532)
OKLCHoklch(54.81% 0.214 314.4)
XYZxyz(25.4441, 14.1264, 54.1989)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39C5 #61C539
analogous
#5739C5 #9D39C5 #C539A7
triadic
#9D39C5 #C59D39 #39C59D
tetradic
#9D39C5 #C55739 #61C539 #39A7C5
square
#9D39C5 #C55739 #61C539 #39A7C5
split-complementary
#9D39C5 #A7C539 #39C557
monochromatic
#511E66 #772B96 #9D39C5 #B568D3 #CC97E1

Accessibility & contrast

On white

5.49
#9D39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9D39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39C5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39C5#FFFFFF#000000##FFFFFF
##9D39C51.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#326BC2
Tritanopia (blue-blind)
#99567B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d39c5;
/* rgb */ color: rgb(157, 57, 197);
/* oklch */ color: oklch(54.8% 0.214 314.4);
Tailwind
colors: {
  custom: {
    50: '#be78d7',
    500: '#9d39c5',
    950: '#000000',
  },
}
SCSS
$custom: #9d39c5;
$custom-light: #be78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39c5",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 282.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.21446,
    "h": 314.4
  },
  "luminance": 0.14126
}

Semantic roles & 50–950 ramp

primary
#9D39C5
secondary
#9FCD8D
accent
#DE4974
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9D39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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