#9B37CC#9B37CC

#9B37CC is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.223 H 311.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9B37CC
RGBrgb(155, 55, 204)
HSLhsl(280, 59%, 51%)
HSVhsv(280, 73%, 80%)
CMYKcmyk(24%, 73%, 0%, 20%)
CIE-LABlab(44.32, 63.66, -58.56)
CIE-LCHlch(44.32, 86.50, 317.39°)
OKLaboklab(54.84% 0.1486 -0.1656)
OKLCHoklch(54.84% 0.223 311.9)
XYZxyz(25.7808, 14.0613, 58.4710)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37CC #68CC37
analogous
#5037CC #9B37CC #CC37B3
triadic
#9B37CC #CC9B37 #37CC9B
tetradic
#9B37CC #CC5037 #68CC37 #37B3CC
square
#9B37CC #CC5037 #68CC37 #37B3CC
split-complementary
#9B37CC #B3CC37 #37CC50
monochromatic
#521C6D #77289E #9B37CC #B368D8 #CC99E5

Accessibility & contrast

On white

5.51
#9B37CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9B37CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37CC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37CC#FFFFFF#000000##FFFFFF
##9B37CC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#95597F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b37cc;
/* rgb */ color: rgb(155, 55, 204);
/* oklch */ color: oklch(54.8% 0.223 311.9);
Tailwind
colors: {
  custom: {
    50: '#bd77dc',
    500: '#9b37cc',
    950: '#000000',
  },
}
SCSS
$custom: #9b37cc;
$custom-light: #bd77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37cc",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 280.268,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.22253,
    "h": 311.9
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#9B37CC
secondary
#A4D08E
accent
#E34579
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B37CC

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

Preview Lab → · Contrast checker → · Palette generator →

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