#9D37C8#9D37C8

#9D37C8 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.220 H 313.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9D37C8
RGBrgb(157, 55, 200)
HSLhsl(282, 57%, 50%)
HSVhsv(282, 73%, 78%)
CMYKcmyk(21.5%, 72.5%, 0%, 21.6%)
CIE-LABlab(44.34, 63.23, -56.21)
CIE-LCHlch(44.34, 84.60, 318.37°)
OKLaboklab(54.82% 0.1517 -0.1587)
OKLCHoklch(54.82% 0.22 313.7)
XYZxyz(25.6943, 14.0714, 55.9949)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37C8 #62C837
analogous
#5537C8 #9D37C8 #C837AA
triadic
#9D37C8 #C89D37 #37C89D
tetradic
#9D37C8 #C85537 #62C837 #37AAC8
square
#9D37C8 #C85537 #62C837 #37AAC8
split-complementary
#9D37C8 #AAC837 #37C855
monochromatic
#521D68 #772A98 #9D37C8 #B567D5 #CC97E2

Accessibility & contrast

On white

5.51
#9D37C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9D37C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37C8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37C8#FFFFFF#000000##FFFFFF
##9D37C81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#2C6BC5
Tritanopia (blue-blind)
#99577D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d37c8;
/* rgb */ color: rgb(157, 55, 200);
/* oklch */ color: oklch(54.8% 0.220 313.7);
Tailwind
colors: {
  custom: {
    50: '#be77d9',
    500: '#9d37c8',
    950: '#000000',
  },
}
SCSS
$custom: #9d37c8;
$custom-light: #be77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37c8",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 282.207,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.54818,
    "c": 0.21951,
    "h": 313.7
  },
  "luminance": 0.14071
}

Semantic roles & 50–950 ramp

primary
#9D37C8
secondary
#A0CE8D
accent
#E04875
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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