#9F39BC#9F39BC

#9F39BC is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.207 H 317.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9F39BC
RGBrgb(159, 57, 188)
HSLhsl(287, 53%, 48%)
HSVhsv(287, 70%, 74%)
CMYKcmyk(15.4%, 69.7%, 0%, 26.3%)
CIE-LABlab(44.13, 60.48, -49.54)
CIE-LCHlch(44.13, 78.17, 320.68°)
OKLaboklab(54.49% 0.1533 -0.139)
OKLCHoklch(54.49% 0.207 317.8)
XYZxyz(24.8370, 13.9291, 48.9475)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39BC #56BC39
analogous
#5E39BC #9F39BC #BC3997
triadic
#9F39BC #BC9F39 #39BC9F
tetradic
#9F39BC #BC5E39 #56BC39 #3997BC
square
#9F39BC #BC5E39 #56BC39 #3997BC
split-complementary
#9F39BC #97BC39 #39BC5E
monochromatic
#501D5E #772B8D #9F39BC #B763D0 #CD92DE

Accessibility & contrast

On white

5.55
#9F39BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9F39BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39BC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39BC#FFFFFF#000000##FFFFFF
##9F39BC1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#3E6BB9
Tritanopia (blue-blind)
#9E5276
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f39bc;
/* rgb */ color: rgb(159, 57, 188);
/* oklch */ color: oklch(54.5% 0.207 317.8);
Tailwind
colors: {
  custom: {
    50: '#bf78d1',
    500: '#9f39bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f39bc;
$custom-light: #bf78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39bc",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 286.718,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54486,
    "c": 0.20698,
    "h": 317.8
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#9F39BC
secondary
#96C988
accent
#DD4B6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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