#9B37AC#9B37AC

#9B37AC is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.7% C 0.193 H 321.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9B37AC
RGBrgb(155, 55, 172)
HSLhsl(291, 52%, 45%)
HSVhsv(291, 68%, 67%)
CMYKcmyk(9.9%, 68%, 0%, 32.5%)
CIE-LABlab(42.28, 57.32, -43.11)
CIE-LCHlch(42.28, 71.72, 323.05°)
OKLaboklab(52.73% 0.1514 -0.1203)
OKLCHoklch(52.73% 0.193 321.5)
XYZxyz(22.3293, 12.6807, 40.2932)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37AC #48AC37
analogous
#6137AC #9B37AC #AC3783
triadic
#9B37AC #AC9B37 #37AC9B
tetradic
#9B37AC #AC6137 #48AC37 #3783AC
square
#9B37AC #AC6137 #48AC37 #3783AC
split-complementary
#9B37AC #83AC37 #37AC61
monochromatic
#47194F #71287E #9B37AC #B957C9 #CC85D8

Accessibility & contrast

On white

5.94
#9B37AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9B37AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37AC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37AC#FFFFFF#000000##FFFFFF
##9B37AC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DAF
Deuteranopia (green-blind)
#4568A9
Tritanopia (blue-blind)
#9D4B6D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b37ac;
/* rgb */ color: rgb(155, 55, 172);
/* oklch */ color: oklch(52.7% 0.193 321.5);
Tailwind
colors: {
  custom: {
    50: '#bc76c5',
    500: '#9b37ac',
    950: '#000000',
  },
}
SCSS
$custom: #9b37ac;
$custom-light: #bc76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37ac",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 291.282,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.19339,
    "h": 321.5
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

primary
#9B37AC
secondary
#87C27D
accent
#DB4D61
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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