#9D39BF#9D39BF

#9D39BF is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.4% C 0.209 H 316.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9D39BF
RGBrgb(157, 57, 191)
HSLhsl(285, 54%, 49%)
HSVhsv(285, 70%, 75%)
CMYKcmyk(17.8%, 70.2%, 0%, 25.1%)
CIE-LABlab(44.03, 60.64, -51.47)
CIE-LCHlch(44.03, 79.54, 319.67°)
OKLaboklab(54.41% 0.1507 -0.1448)
OKLCHoklch(54.41% 0.209 316.1)
XYZxyz(24.7703, 13.8569, 50.6500)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39BF #5BBF39
analogous
#5A39BF #9D39BF #BF399E
triadic
#9D39BF #BF9D39 #39BF9D
tetradic
#9D39BF #BF5A39 #5BBF39 #399EBF
square
#9D39BF #BF5A39 #5BBF39 #399EBF
split-complementary
#9D39BF #9EBF39 #39BF5A
monochromatic
#501D61 #762B90 #9D39BF #B564D1 #CC93DF

Accessibility & contrast

On white

5.57
#9D39BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9D39BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39BF#FFFFFF#000000##FFFFFF
##9D39BF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#9B5478
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d39bf;
/* rgb */ color: rgb(157, 57, 191);
/* oklch */ color: oklch(54.4% 0.209 316.1);
Tailwind
colors: {
  custom: {
    50: '#be78d3',
    500: '#9d39bf',
    950: '#000000',
  },
}
SCSS
$custom: #9d39bf;
$custom-light: #be78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39bf",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 284.776,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54412,
    "c": 0.20894,
    "h": 316.1
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#9D39BF
secondary
#9ACA8A
accent
#DD4A70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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