#9737B2#9737B2

#9737B2 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.197 H 317.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9737B2
RGBrgb(151, 55, 178)
HSLhsl(287, 53%, 46%)
HSVhsv(287, 69%, 70%)
CMYKcmyk(15.2%, 69.1%, 0%, 30.2%)
CIE-LABlab(42.04, 57.57, -47.07)
CIE-LCHlch(42.04, 74.37, 320.73°)
OKLaboklab(52.55% 0.1463 -0.132)
OKLCHoklch(52.55% 0.197 317.9)
XYZxyz(22.1634, 12.5270, 43.3613)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9737B2 #52B237
analogous
#5937B2 #9737B2 #B2378F
triadic
#9737B2 #B29737 #37B297
tetradic
#9737B2 #B25937 #52B237 #378FB2
square
#9737B2 #B25937 #52B237 #378FB2
split-complementary
#9737B2 #8FB237 #37B259
monochromatic
#481A54 #6F2983 #9737B2 #B35ACC #C989DB

Accessibility & contrast

On white

5.99
#9737B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9737B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9737B2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9737B2#FFFFFF#000000##FFFFFF
##9737B21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3C66AF
Tritanopia (blue-blind)
#964E70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9737b2;
/* rgb */ color: rgb(151, 55, 178);
/* oklch */ color: oklch(52.6% 0.197 317.9);
Tailwind
colors: {
  custom: {
    50: '#b976ca',
    500: '#9737b2',
    950: '#000000',
  },
}
SCSS
$custom: #9737b2;
$custom-light: #b976ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9737b2",
  "rgb": {
    "r": 151,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 286.829,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.1971,
    "h": 317.9
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#9737B2
secondary
#8FC580
accent
#DC4C6B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9737B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9737B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva