#9F37BE#9F37BE

#9F37BE is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.211 H 317.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9F37BE
RGBrgb(159, 55, 190)
HSLhsl(286, 55%, 48%)
HSVhsv(286, 71%, 75%)
CMYKcmyk(16.3%, 71.1%, 0%, 25.5%)
CIE-LABlab(43.98, 61.66, -50.95)
CIE-LCHlch(43.98, 79.98, 320.43°)
OKLaboklab(54.42% 0.1553 -0.1432)
OKLCHoklch(54.42% 0.211 317.3)
XYZxyz(24.9572, 13.8221, 50.0585)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37BE #56BE37
analogous
#5B37BE #9F37BE #BE3799
triadic
#9F37BE #BE9F37 #37BE9F
tetradic
#9F37BE #BE5B37 #56BE37 #3799BE
square
#9F37BE #BE5B37 #56BE37 #3799BE
split-complementary
#9F37BE #99BE37 #37BE5B
monochromatic
#501C5F #77298F #9F37BE #B761D1 #CD90DF

Accessibility & contrast

On white

5.58
#9F37BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9F37BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37BE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37BE#FFFFFF#000000##FFFFFF
##9F37BE1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#3A6BBB
Tritanopia (blue-blind)
#9E5277
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f37be;
/* rgb */ color: rgb(159, 55, 190);
/* oklch */ color: oklch(54.4% 0.211 317.3);
Tailwind
colors: {
  custom: {
    50: '#bf77d2',
    500: '#9f37be',
    950: '#000000',
  },
}
SCSS
$custom: #9f37be;
$custom-light: #bf77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37be",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 286.222,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54415,
    "c": 0.21118,
    "h": 317.3
  },
  "luminance": 0.13821
}

Semantic roles & 50–950 ramp

primary
#9F37BE
secondary
#96CA87
accent
#DE496C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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