#9F39C5#9F39C5

#9F39C5 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.215 H 315.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9F39C5
RGBrgb(159, 57, 197)
HSLhsl(284, 55%, 50%)
HSVhsv(284, 71%, 77%)
CMYKcmyk(19.3%, 71.1%, 0%, 22.7%)
CIE-LABlab(44.70, 62.25, -53.86)
CIE-LCHlch(44.70, 82.32, 319.13°)
OKLaboklab(55.08% 0.1526 -0.1517)
OKLCHoklch(55.08% 0.215 315.2)
XYZxyz(25.8376, 14.3293, 54.2173)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39C5 #5FC539
analogous
#5939C5 #9F39C5 #C539A5
triadic
#9F39C5 #C59F39 #39C59F
tetradic
#9F39C5 #C55939 #5FC539 #39A5C5
square
#9F39C5 #C55939 #5FC539 #39A5C5
split-complementary
#9F39C5 #A5C539 #39C559
monochromatic
#521E66 #792B96 #9F39C5 #B668D3 #CD97E1

Accessibility & contrast

On white

5.43
#9F39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9F39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39C5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39C5#FFFFFF#000000##FFFFFF
##9F39C51.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#356CC2
Tritanopia (blue-blind)
#9C567B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f39c5;
/* rgb */ color: rgb(159, 57, 197);
/* oklch */ color: oklch(55.1% 0.215 315.2);
Tailwind
colors: {
  custom: {
    50: '#bf78d7',
    500: '#9f39c5',
    950: '#000000',
  },
}
SCSS
$custom: #9f39c5;
$custom-light: #bf78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39c5",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 283.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55075,
    "c": 0.21517,
    "h": 315.2
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#9F39C5
secondary
#9ECD8D
accent
#DE4972
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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