#9F37BB#9F37BB

#9F37BB is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.208 H 318.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9F37BB
RGBrgb(159, 55, 187)
HSLhsl(287, 55%, 47%)
HSVhsv(287, 71%, 73%)
CMYKcmyk(15%, 70.6%, 0%, 26.7%)
CIE-LABlab(43.79, 61.07, -49.50)
CIE-LCHlch(43.79, 78.61, 320.98°)
OKLaboklab(54.22% 0.1555 -0.1389)
OKLCHoklch(54.22% 0.208 318.2)
XYZxyz(24.6327, 13.6923, 48.3494)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37BB #53BB37
analogous
#5D37BB #9F37BB #BB3795
triadic
#9F37BB #BB9F37 #37BB9F
tetradic
#9F37BB #BB5D37 #53BB37 #3795BB
square
#9F37BB #BB5D37 #53BB37 #3795BB
split-complementary
#9F37BB #95BB37 #37BB5D
monochromatic
#4F1B5C #77298C #9F37BB #B85FD0 #CD8EDE

Accessibility & contrast

On white

5.62
#9F37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9F37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37BB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37BB#FFFFFF#000000##FFFFFF
##9F37BB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#9E5175
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f37bb;
/* rgb */ color: rgb(159, 55, 187);
/* oklch */ color: oklch(54.2% 0.208 318.2);
Tailwind
colors: {
  custom: {
    50: '#bf77d0',
    500: '#9f37bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f37bb;
$custom-light: #bf77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37bb",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 287.273,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.20849,
    "h": 318.2
  },
  "luminance": 0.13691
}

Semantic roles & 50–950 ramp

primary
#9F37BB
secondary
#94C985
accent
#DE4A69
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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