#9F39BB#9F39BB

#9F39BB is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.4% C 0.206 H 318.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9F39BB
RGBrgb(159, 57, 187)
HSLhsl(287, 53%, 48%)
HSVhsv(287, 70%, 73%)
CMYKcmyk(15%, 69.5%, 0%, 26.7%)
CIE-LABlab(44.07, 60.28, -49.05)
CIE-LCHlch(44.07, 77.72, 320.87°)
OKLaboklab(54.42% 0.1534 -0.1376)
OKLCHoklch(54.42% 0.206 318.1)
XYZxyz(24.7296, 13.8861, 48.3817)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39BB #55BB39
analogous
#5E39BB #9F39BB #BB3996
triadic
#9F39BB #BB9F39 #39BB9F
tetradic
#9F39BB #BB5E39 #55BB39 #3996BB
square
#9F39BB #BB5E39 #55BB39 #3996BB
split-complementary
#9F39BB #96BB39 #39BB5E
monochromatic
#4F1C5D #772B8C #9F39BB #B862CF #CD91DD

Accessibility & contrast

On white

5.56
#9F39BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9F39BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39BB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39BB#FFFFFF#000000##FFFFFF
##9F39BB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f39bb;
/* rgb */ color: rgb(159, 57, 187);
/* oklch */ color: oklch(54.4% 0.206 318.1);
Tailwind
colors: {
  custom: {
    50: '#bf78d0',
    500: '#9f39bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f39bb;
$custom-light: #bf78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39bb",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 287.077,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.20608,
    "h": 318.1
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

primary
#9F39BB
secondary
#95C887
accent
#DD4B6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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