#9A37C8#9A37C8

#9A37C8 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.219 H 312.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9A37C8
RGBrgb(154, 55, 200)
HSLhsl(281, 57%, 50%)
HSVhsv(281, 73%, 78%)
CMYKcmyk(23%, 72.5%, 0%, 21.6%)
CIE-LABlab(43.91, 62.64, -56.92)
CIE-LCHlch(43.91, 84.64, 317.74°)
OKLaboklab(54.43% 0.1479 -0.1608)
OKLCHoklch(54.43% 0.219 312.6)
XYZxyz(25.1161, 13.7733, 55.9678)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37C8 #65C837
analogous
#5237C8 #9A37C8 #C837AD
triadic
#9A37C8 #C89A37 #37C89A
tetradic
#9A37C8 #C85237 #65C837 #37ADC8
square
#9A37C8 #C85237 #65C837 #37ADC8
split-complementary
#9A37C8 #ADC837 #37C852
monochromatic
#501D68 #752A98 #9A37C8 #B267D5 #CA97E2

Accessibility & contrast

On white

5.59
#9A37C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9A37C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A37C8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37C8#FFFFFF#000000##FFFFFF
##9A37C81.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#276AC5
Tritanopia (blue-blind)
#95577D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a37c8;
/* rgb */ color: rgb(154, 55, 200);
/* oklch */ color: oklch(54.4% 0.219 312.6);
Tailwind
colors: {
  custom: {
    50: '#bc77d9',
    500: '#9a37c8',
    950: '#000000',
  },
}
SCSS
$custom: #9a37c8;
$custom-light: #bc77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37c8",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 280.966,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.54425,
    "c": 0.21851,
    "h": 312.6
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#9A37C8
secondary
#A2CE8D
accent
#E04878
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9A37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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