#9F39BD#9F39BD

#9F39BD is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.5% C 0.208 H 317.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9F39BD
RGBrgb(159, 57, 189)
HSLhsl(286, 54%, 48%)
HSVhsv(286, 70%, 74%)
CMYKcmyk(15.9%, 69.8%, 0%, 25.9%)
CIE-LABlab(44.19, 60.67, -50.02)
CIE-LCHlch(44.19, 78.63, 320.50°)
OKLaboklab(54.55% 0.1533 -0.1404)
OKLCHoklch(54.55% 0.208 317.5)
XYZxyz(24.9452, 13.9724, 49.5172)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39BD #57BD39
analogous
#5D39BD #9F39BD #BD3999
triadic
#9F39BD #BD9F39 #39BD9F
tetradic
#9F39BD #BD5D39 #57BD39 #3999BD
square
#9F39BD #BD5D39 #57BD39 #3999BD
split-complementary
#9F39BD #99BD39 #39BD5D
monochromatic
#501D5F #772B8E #9F39BD #B763D0 #CD92DE

Accessibility & contrast

On white

5.53
#9F39BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F39BD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39BD#FFFFFF#000000##FFFFFF
##9F39BD1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#9E5377
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f39bd;
/* rgb */ color: rgb(159, 57, 189);
/* oklch */ color: oklch(54.5% 0.208 317.5);
Tailwind
colors: {
  custom: {
    50: '#bf78d1',
    500: '#9f39bd',
    950: '#000000',
  },
}
SCSS
$custom: #9f39bd;
$custom-light: #bf78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39bd",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 286.364,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5455,
    "c": 0.2079,
    "h": 317.5
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

primary
#9F39BD
secondary
#97C989
accent
#DD4B6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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