#9D37CB#9D37CB

#9D37CB is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.222 H 312.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9D37CB
RGBrgb(157, 55, 203)
HSLhsl(281, 59%, 51%)
HSVhsv(281, 73%, 80%)
CMYKcmyk(22.7%, 72.9%, 0%, 20.4%)
CIE-LABlab(44.54, 63.84, -57.62)
CIE-LCHlch(44.54, 86.00, 317.93°)
OKLaboklab(55.03% 0.1513 -0.1628)
OKLCHoklch(55.03% 0.222 312.9)
XYZxyz(26.0484, 14.2131, 57.8596)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37CB #65CB37
analogous
#5337CB #9D37CB #CB37AF
triadic
#9D37CB #CB9D37 #37CB9D
tetradic
#9D37CB #CB5337 #65CB37 #37AFCB
square
#9D37CB #CB5337 #65CB37 #37AFCB
split-complementary
#9D37CB #AFCB37 #37CB53
monochromatic
#531C6C #78299C #9D37CB #B568D8 #CD98E4

Accessibility & contrast

On white

5.47
#9D37CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9D37CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37CB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37CB#FFFFFF#000000##FFFFFF
##9D37CB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d37cb;
/* rgb */ color: rgb(157, 55, 203);
/* oklch */ color: oklch(55.0% 0.222 312.9);
Tailwind
colors: {
  custom: {
    50: '#be77dc',
    500: '#9d37cb',
    950: '#000000',
  },
}
SCSS
$custom: #9d37cb;
$custom-light: #be77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37cb",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 281.351,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55025,
    "c": 0.22225,
    "h": 312.9
  },
  "luminance": 0.14212
}

Semantic roles & 50–950 ramp

primary
#9D37CB
secondary
#A2D08E
accent
#E24676
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D37CB

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

Preview Lab → · Contrast checker → · Palette generator →

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