#9A37BD#9A37BD

#9A37BD is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.208 H 315.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9A37BD
RGBrgb(154, 55, 189)
HSLhsl(284, 55%, 48%)
HSVhsv(284, 71%, 74%)
CMYKcmyk(18.5%, 70.9%, 0%, 25.9%)
CIE-LABlab(43.18, 60.41, -51.69)
CIE-LCHlch(43.18, 79.50, 319.45°)
OKLaboklab(53.68% 0.1492 -0.1455)
OKLCHoklch(53.68% 0.208 315.7)
XYZxyz(23.8765, 13.2774, 49.4393)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37BD #5ABD37
analogous
#5737BD #9A37BD #BD379D
triadic
#9A37BD #BD9A37 #37BD9A
tetradic
#9A37BD #BD5737 #5ABD37 #379DBD
square
#9A37BD #BD5737 #5ABD37 #379DBD
split-complementary
#9A37BD #9DBD37 #37BD57
monochromatic
#4D1B5E #73298E #9A37BD #B360D1 #CA90DF

Accessibility & contrast

On white

5.74
#9A37BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9A37BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A37BD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37BD#FFFFFF#000000##FFFFFF
##9A37BD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#985276
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a37bd;
/* rgb */ color: rgb(154, 55, 189);
/* oklch */ color: oklch(53.7% 0.208 315.7);
Tailwind
colors: {
  custom: {
    50: '#bc77d2',
    500: '#9a37bd',
    950: '#000000',
  },
}
SCSS
$custom: #9a37bd;
$custom-light: #bc77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37bd",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 284.328,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53676,
    "c": 0.20837,
    "h": 315.7
  },
  "luminance": 0.13277
}

Semantic roles & 50–950 ramp

primary
#9A37BD
secondary
#98C986
accent
#DE4A70
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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