#9A37BB#9A37BB

#9A37BB is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.5% C 0.207 H 316.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9A37BB
RGBrgb(154, 55, 187)
HSLhsl(285, 55%, 47%)
HSVhsv(285, 71%, 73%)
CMYKcmyk(17.6%, 70.6%, 0%, 26.7%)
CIE-LABlab(43.05, 60.01, -50.73)
CIE-LCHlch(43.05, 78.58, 319.79°)
OKLaboklab(53.54% 0.1494 -0.1426)
OKLCHoklch(53.54% 0.207 316.3)
XYZxyz(23.6609, 13.1912, 48.3039)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37BB #58BB37
analogous
#5837BB #9A37BB #BB379A
triadic
#9A37BB #BB9A37 #37BB9A
tetradic
#9A37BB #BB5837 #58BB37 #379ABB
square
#9A37BB #BB5837 #58BB37 #379ABB
split-complementary
#9A37BB #9ABB37 #37BB58
monochromatic
#4C1B5C #73298C #9A37BB #B45FD0 #CA8EDE

Accessibility & contrast

On white

5.77
#9A37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9A37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A37BB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37BB#FFFFFF#000000##FFFFFF
##9A37BB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#3768B8
Tritanopia (blue-blind)
#985275
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a37bb;
/* rgb */ color: rgb(154, 55, 187);
/* oklch */ color: oklch(53.5% 0.207 316.3);
Tailwind
colors: {
  custom: {
    50: '#bc76d0',
    500: '#9a37bb',
    950: '#000000',
  },
}
SCSS
$custom: #9a37bb;
$custom-light: #bc76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37bb",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 285,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.20654,
    "h": 316.3
  },
  "luminance": 0.1319
}

Semantic roles & 50–950 ramp

primary
#9A37BB
secondary
#96C985
accent
#DE4A6F
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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