#9F39BE#9F39BE

#9F39BE is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.209 H 317.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9F39BE
RGBrgb(159, 57, 190)
HSLhsl(286, 54%, 48%)
HSVhsv(286, 70%, 75%)
CMYKcmyk(16.3%, 70%, 0%, 25.5%)
CIE-LABlab(44.26, 60.87, -50.50)
CIE-LCHlch(44.26, 79.09, 320.32°)
OKLaboklab(54.62% 0.1532 -0.1419)
OKLCHoklch(54.62% 0.209 317.2)
XYZxyz(25.0541, 14.0159, 50.0908)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39BE #58BE39
analogous
#5C39BE #9F39BE #BE399A
triadic
#9F39BE #BE9F39 #39BE9F
tetradic
#9F39BE #BE5C39 #58BE39 #399ABE
square
#9F39BE #BE5C39 #58BE39 #399ABE
split-complementary
#9F39BE #9ABE39 #39BE5C
monochromatic
#501D60 #782B8F #9F39BE #B764D0 #CD93DF

Accessibility & contrast

On white

5.52
#9F39BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9F39BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39BE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39BE#FFFFFF#000000##FFFFFF
##9F39BE1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#3C6CBB
Tritanopia (blue-blind)
#9E5378
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f39be;
/* rgb */ color: rgb(159, 57, 190);
/* oklch */ color: oklch(54.6% 0.209 317.2);
Tailwind
colors: {
  custom: {
    50: '#bf78d2',
    500: '#9f39be',
    950: '#000000',
  },
}
SCSS
$custom: #9f39be;
$custom-light: #bf78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39be",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 286.015,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54615,
    "c": 0.20879,
    "h": 317.2
  },
  "luminance": 0.14015
}

Semantic roles & 50–950 ramp

primary
#9F39BE
secondary
#98CA89
accent
#DD4B6D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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