#9F37BA#9F37BA

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

Color values

HEX#9F37BA
RGBrgb(159, 55, 186)
HSLhsl(288, 54%, 47%)
HSVhsv(288, 70%, 73%)
CMYKcmyk(14.5%, 70.4%, 0%, 27.1%)
CIE-LABlab(43.73, 60.88, -49.01)
CIE-LCHlch(43.73, 78.16, 321.16°)
OKLaboklab(54.16% 0.1556 -0.1375)
OKLCHoklch(54.16% 0.208 318.5)
XYZxyz(24.5260, 13.6496, 47.7876)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37BA #52BA37
analogous
#5E37BA #9F37BA #BA3793
triadic
#9F37BA #BA9F37 #37BA9F
tetradic
#9F37BA #BA5E37 #52BA37 #3793BA
square
#9F37BA #BA5E37 #52BA37 #3793BA
split-complementary
#9F37BA #93BA37 #37BA5E
monochromatic
#4E1B5C #77298B #9F37BA #B85FD0 #CD8EDE

Accessibility & contrast

On white

5.63
#9F37BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9F37BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37BA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37BA#FFFFFF#000000##FFFFFF
##9F37BA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#3E6BB7
Tritanopia (blue-blind)
#9F5075
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f37ba;
/* rgb */ color: rgb(159, 55, 186);
/* oklch */ color: oklch(54.2% 0.208 318.5);
Tailwind
colors: {
  custom: {
    50: '#bf77cf',
    500: '#9f37ba',
    950: '#000000',
  },
}
SCSS
$custom: #9f37ba;
$custom-light: #bf77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37ba",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 287.634,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.2076,
    "h": 318.5
  },
  "luminance": 0.13648
}

Semantic roles & 50–950 ramp

primary
#9F37BA
secondary
#93C885
accent
#DE4A69
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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