#9B37CB#9B37CB

#9B37CB is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.222 H 312.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9B37CB
RGBrgb(155, 55, 203)
HSLhsl(281, 59%, 51%)
HSVhsv(281, 73%, 80%)
CMYKcmyk(23.6%, 72.9%, 0%, 20.4%)
CIE-LABlab(44.25, 63.45, -58.10)
CIE-LCHlch(44.25, 86.03, 317.52°)
OKLaboklab(54.77% 0.1488 -0.1642)
OKLCHoklch(54.77% 0.222 312.2)
XYZxyz(25.6613, 14.0134, 57.8414)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37CB #67CB37
analogous
#5137CB #9B37CB #CB37B1
triadic
#9B37CB #CB9B37 #37CB9B
tetradic
#9B37CB #CB5137 #67CB37 #37B1CB
square
#9B37CB #CB5137 #67CB37 #37B1CB
split-complementary
#9B37CB #B1CB37 #37CB51
monochromatic
#521C6C #77299C #9B37CB #B368D8 #CC98E4

Accessibility & contrast

On white

5.52
#9B37CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9B37CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37CB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37CB#FFFFFF#000000##FFFFFF
##9B37CB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b37cb;
/* rgb */ color: rgb(155, 55, 203);
/* oklch */ color: oklch(54.8% 0.222 312.2);
Tailwind
colors: {
  custom: {
    50: '#bd77dc',
    500: '#9b37cb',
    950: '#000000',
  },
}
SCSS
$custom: #9b37cb;
$custom-light: #bd77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37cb",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 280.541,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54765,
    "c": 0.22161,
    "h": 312.2
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B37CB

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

Preview Lab → · Contrast checker → · Palette generator →

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