#9F39B7#9F39B7

#9F39B7 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.202 H 319.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9F39B7
RGBrgb(159, 57, 183)
HSLhsl(289, 53%, 47%)
HSVhsv(289, 69%, 72%)
CMYKcmyk(13.1%, 68.9%, 0%, 28.2%)
CIE-LABlab(43.82, 59.51, -47.10)
CIE-LCHlch(43.82, 75.89, 321.64°)
OKLaboklab(54.17% 0.1536 -0.1319)
OKLCHoklch(54.17% 0.202 319.4)
XYZxyz(24.3073, 13.7172, 46.1579)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39B7 #51B739
analogous
#6039B7 #9F39B7 #B73990
triadic
#9F39B7 #B79F39 #39B79F
tetradic
#9F39B7 #B76039 #51B739 #3990B7
square
#9F39B7 #B76039 #51B739 #3990B7
split-complementary
#9F39B7 #90B739 #39B760
monochromatic
#4E1C5A #762A88 #9F39B7 #B960CD #CD8EDC

Accessibility & contrast

On white

5.61
#9F39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9F39B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39B7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39B7#FFFFFF#000000##FFFFFF
##9F39B71.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#426BB4
Tritanopia (blue-blind)
#9F5074
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f39b7;
/* rgb */ color: rgb(159, 57, 183);
/* oklch */ color: oklch(54.2% 0.202 319.4);
Tailwind
colors: {
  custom: {
    50: '#bf78cd',
    500: '#9f39b7',
    950: '#000000',
  },
}
SCSS
$custom: #9f39b7;
$custom-light: #bf78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39b7",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 288.571,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54168,
    "c": 0.20248,
    "h": 319.4
  },
  "luminance": 0.13716
}

Semantic roles & 50–950 ramp

primary
#9F39B7
secondary
#92C785
accent
#DC4C67
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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