#9C37CB#9C37CB

#9C37CB is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.222 H 312.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9C37CB
RGBrgb(156, 55, 203)
HSLhsl(281, 59%, 51%)
HSVhsv(281, 73%, 80%)
CMYKcmyk(23.2%, 72.9%, 0%, 20.4%)
CIE-LABlab(44.39, 63.65, -57.86)
CIE-LCHlch(44.39, 86.01, 317.73°)
OKLaboklab(54.9% 0.15 -0.1635)
OKLCHoklch(54.9% 0.222 312.5)
XYZxyz(25.8540, 14.1128, 57.8505)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C37CB #66CB37
analogous
#5237CB #9C37CB #CB37B0
triadic
#9C37CB #CB9C37 #37CB9C
tetradic
#9C37CB #CB5237 #66CB37 #37B0CB
square
#9C37CB #CB5237 #66CB37 #37B0CB
split-complementary
#9C37CB #B0CB37 #37CB52
monochromatic
#521C6C #77299C #9C37CB #B468D8 #CC98E4

Accessibility & contrast

On white

5.49
#9C37CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9C37CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C37CB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C37CB#FFFFFF#000000##FFFFFF
##9C37CB1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#256BC8
Tritanopia (blue-blind)
#97587E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c37cb;
/* rgb */ color: rgb(156, 55, 203);
/* oklch */ color: oklch(54.9% 0.222 312.5);
Tailwind
colors: {
  custom: {
    50: '#be77dc',
    500: '#9c37cb',
    950: '#000000',
  },
}
SCSS
$custom: #9c37cb;
$custom-light: #be77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c37cb",
  "rgb": {
    "r": 156,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 280.946,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54895,
    "c": 0.22193,
    "h": 312.5
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

primary
#9C37CB
secondary
#A3D08E
accent
#E24677
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C37CB

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

Preview Lab → · Contrast checker → · Palette generator →

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