#9B37C8#9B37C8

#9B37C8 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.219 H 313.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9B37C8
RGBrgb(155, 55, 200)
HSLhsl(281, 57%, 50%)
HSVhsv(281, 73%, 78%)
CMYKcmyk(22.5%, 72.5%, 0%, 21.6%)
CIE-LABlab(44.05, 62.84, -56.69)
CIE-LCHlch(44.05, 84.63, 317.95°)
OKLaboklab(54.56% 0.1492 -0.1601)
OKLCHoklch(54.56% 0.219 313)
XYZxyz(25.3072, 13.8718, 55.9768)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37C8 #64C837
analogous
#5237C8 #9B37C8 #C837AD
triadic
#9B37C8 #C89B37 #37C89B
tetradic
#9B37C8 #C85237 #64C837 #37ADC8
square
#9B37C8 #C85237 #64C837 #37ADC8
split-complementary
#9B37C8 #ADC837 #37C852
monochromatic
#511D68 #762A98 #9B37C8 #B367D5 #CB97E2

Accessibility & contrast

On white

5.56
#9B37C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9B37C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37C8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37C8#FFFFFF#000000##FFFFFF
##9B37C81.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b37c8;
/* rgb */ color: rgb(155, 55, 200);
/* oklch */ color: oklch(54.6% 0.219 313.0);
Tailwind
colors: {
  custom: {
    50: '#bd77d9',
    500: '#9b37c8',
    950: '#000000',
  },
}
SCSS
$custom: #9b37c8;
$custom-light: #bd77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37c8",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 281.379,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.54556,
    "c": 0.21884,
    "h": 313
  },
  "luminance": 0.13871
}

Semantic roles & 50–950 ramp

primary
#9B37C8
secondary
#A1CE8D
accent
#E04877
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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