#9F37BF#9F37BF

#9F37BF is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.212 H 317.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9F37BF
RGBrgb(159, 55, 191)
HSLhsl(286, 55%, 48%)
HSVhsv(286, 71%, 75%)
CMYKcmyk(16.8%, 71.2%, 0%, 25.1%)
CIE-LABlab(44.04, 61.85, -51.43)
CIE-LCHlch(44.04, 80.44, 320.25°)
OKLaboklab(54.48% 0.1552 -0.1446)
OKLCHoklch(54.48% 0.212 317)
XYZxyz(25.0668, 13.8659, 50.6361)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37BF #57BF37
analogous
#5B37BF #9F37BF #BF379B
triadic
#9F37BF #BF9F37 #37BF9F
tetradic
#9F37BF #BF5B37 #57BF37 #379BBF
square
#9F37BF #BF5B37 #57BF37 #379BBF
split-complementary
#9F37BF #9BBF37 #37BF5B
monochromatic
#501C60 #77298F #9F37BF #B762D2 #CD91DF

Accessibility & contrast

On white

5.57
#9F37BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9F37BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37BF#FFFFFF#000000##FFFFFF
##9F37BF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#9D5278
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f37bf;
/* rgb */ color: rgb(159, 55, 191);
/* oklch */ color: oklch(54.5% 0.212 317.0);
Tailwind
colors: {
  custom: {
    50: '#bf77d3',
    500: '#9f37bf',
    950: '#000000',
  },
}
SCSS
$custom: #9f37bf;
$custom-light: #bf77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37bf",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 285.882,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54481,
    "c": 0.21208,
    "h": 317
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#9F37BF
secondary
#97CA88
accent
#DF496C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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