#9D37CD#9D37CD

#9D37CD is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.224 H 312.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9D37CD
RGBrgb(157, 55, 205)
HSLhsl(281, 60%, 51%)
HSVhsv(281, 73%, 80%)
CMYKcmyk(23.4%, 73.2%, 0%, 19.6%)
CIE-LABlab(44.67, 64.25, -58.56)
CIE-LCHlch(44.67, 86.93, 317.65°)
OKLaboklab(55.17% 0.151 -0.1655)
OKLCHoklch(55.17% 0.224 312.4)
XYZxyz(26.2883, 14.3090, 59.1229)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37CD #67CD37
analogous
#5237CD #9D37CD #CD37B2
triadic
#9D37CD #CD9D37 #37CD9D
tetradic
#9D37CD #CD5237 #67CD37 #37B2CD
square
#9D37CD #CD5237 #67CD37 #37B2CD
split-complementary
#9D37CD #B2CD37 #37CD52
monochromatic
#541C6E #79289F #9D37CD #B568D9 #CD99E5

Accessibility & contrast

On white

5.44
#9D37CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9D37CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37CD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37CD#FFFFFF#000000##FFFFFF
##9D37CD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#246CCA
Tritanopia (blue-blind)
#97597F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d37cd;
/* rgb */ color: rgb(157, 55, 205);
/* oklch */ color: oklch(55.2% 0.224 312.4);
Tailwind
colors: {
  custom: {
    50: '#bf78dd',
    500: '#9d37cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d37cd;
$custom-light: #bf78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37cd",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 280.8,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55165,
    "c": 0.22408,
    "h": 312.4
  },
  "luminance": 0.14308
}

Semantic roles & 50–950 ramp

primary
#9D37CD
secondary
#A4D18F
accent
#E34577
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D37CD

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

Preview Lab → · Contrast checker → · Palette generator →

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