#9F37B3#9F37B3

#9F37B3 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.7% C 0.201 H 320.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9F37B3
RGBrgb(159, 55, 179)
HSLhsl(290, 53%, 46%)
HSVhsv(290, 69%, 70%)
CMYKcmyk(11.2%, 69.3%, 0%, 29.8%)
CIE-LABlab(43.30, 59.55, -45.58)
CIE-LCHlch(43.30, 74.99, 322.57°)
OKLaboklab(53.71% 0.1559 -0.1274)
OKLCHoklch(53.71% 0.201 320.7)
XYZxyz(23.8000, 13.3592, 43.9640)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37B3 #4BB337
analogous
#6137B3 #9F37B3 #B33789
triadic
#9F37B3 #B39F37 #37B39F
tetradic
#9F37B3 #B36137 #4BB337 #3789B3
square
#9F37B3 #B36137 #4BB337 #3789B3
split-complementary
#9F37B3 #89B337 #37B361
monochromatic
#4C1A55 #752984 #9F37B3 #BA5BCD #CE8ADB

Accessibility & contrast

On white

5.72
#9F37B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9F37B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37B3
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37B3#FFFFFF#000000##FFFFFF
##9F37B31.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025FB7
Deuteranopia (green-blind)
#446AB0
Tritanopia (blue-blind)
#A04D71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f37b3;
/* rgb */ color: rgb(159, 55, 179);
/* oklch */ color: oklch(53.7% 0.201 320.7);
Tailwind
colors: {
  custom: {
    50: '#bf77ca',
    500: '#9f37b3',
    950: '#000000',
  },
}
SCSS
$custom: #9f37b3;
$custom-light: #bf77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37b3",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 290.323,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.20139,
    "h": 320.7
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#9F37B3
secondary
#8CC581
accent
#DC4B63
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F37B3

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

Preview Lab → · Contrast checker → · Palette generator →

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