#9D37C5#9D37C5

#9D37C5 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.217 H 314.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9D37C5
RGBrgb(157, 55, 197)
HSLhsl(283, 56%, 49%)
HSVhsv(283, 72%, 77%)
CMYKcmyk(20.3%, 72.1%, 0%, 22.7%)
CIE-LABlab(44.14, 62.63, -54.79)
CIE-LCHlch(44.14, 83.21, 318.82°)
OKLaboklab(54.61% 0.1521 -0.1545)
OKLCHoklch(54.61% 0.217 314.5)
XYZxyz(25.3472, 13.9326, 54.1666)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37C5 #5FC537
analogous
#5637C5 #9D37C5 #C537A6
triadic
#9D37C5 #C59D37 #37C59D
tetradic
#9D37C5 #C55637 #5FC537 #37A6C5
square
#9D37C5 #C55637 #5FC537 #37A6C5
split-complementary
#9D37C5 #A6C537 #37C556
monochromatic
#511C65 #772A95 #9D37C5 #B565D4 #CC95E1

Accessibility & contrast

On white

5.55
#9D37C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9D37C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37C5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37C5#FFFFFF#000000##FFFFFF
##9D37C51.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#306BC2
Tritanopia (blue-blind)
#99557B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d37c5;
/* rgb */ color: rgb(157, 55, 197);
/* oklch */ color: oklch(54.6% 0.217 314.5);
Tailwind
colors: {
  custom: {
    50: '#be77d7',
    500: '#9d37c5',
    950: '#000000',
  },
}
SCSS
$custom: #9d37c5;
$custom-light: #be77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37c5",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 283.099,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.21677,
    "h": 314.5
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

primary
#9D37C5
secondary
#9ECD8B
accent
#E04873
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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