#9F39CE#9F39CE

#9F39CE is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.223 H 312.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9F39CE
RGBrgb(159, 57, 206)
HSLhsl(281, 60%, 52%)
HSVhsv(281, 72%, 81%)
CMYKcmyk(22.8%, 72.3%, 0%, 19.2%)
CIE-LABlab(45.30, 64.07, -58.11)
CIE-LCHlch(45.30, 86.50, 317.79°)
OKLaboklab(55.69% 0.1515 -0.1642)
OKLCHoklch(55.69% 0.223 312.7)
XYZxyz(26.8998, 14.7542, 59.8114)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39CE #68CE39
analogous
#5539CE #9F39CE #CE39B3
triadic
#9F39CE #CE9F39 #39CE9F
tetradic
#9F39CE #CE5539 #68CE39 #39B3CE
square
#9F39CE #CE5539 #68CE39 #39B3CE
split-complementary
#9F39CE #B3CE39 #39CE55
monochromatic
#561C71 #7B28A2 #9F39CE #B76ADA #CF9BE6

Accessibility & contrast

On white

5.32
#9F39CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9F39CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39CE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39CE#FFFFFF#000000##FFFFFF
##9F39CE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#296DCB
Tritanopia (blue-blind)
#9A5A80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f39ce;
/* rgb */ color: rgb(159, 57, 206);
/* oklch */ color: oklch(55.7% 0.223 312.7);
Tailwind
colors: {
  custom: {
    50: '#c079de',
    500: '#9f39ce',
    950: '#000000',
  },
}
SCSS
$custom: #9f39ce;
$custom-light: #c079de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39ce",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 281.074,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.22343,
    "h": 312.7
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#9F39CE
secondary
#A5D291
accent
#E34477
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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