#9D37CC#9D37CC

#9D37CC is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.223 H 312.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9D37CC
RGBrgb(157, 55, 204)
HSLhsl(281, 59%, 51%)
HSVhsv(281, 73%, 80%)
CMYKcmyk(23%, 73%, 0%, 20%)
CIE-LABlab(44.60, 64.04, -58.09)
CIE-LCHlch(44.60, 86.46, 317.79°)
OKLaboklab(55.1% 0.1512 -0.1642)
OKLCHoklch(55.1% 0.223 312.6)
XYZxyz(26.1679, 14.2609, 58.4892)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37CC #66CC37
analogous
#5237CC #9D37CC #CC37B0
triadic
#9D37CC #CC9D37 #37CC9D
tetradic
#9D37CC #CC5237 #66CC37 #37B0CC
square
#9D37CC #CC5237 #66CC37 #37B0CC
split-complementary
#9D37CC #B0CC37 #37CC52
monochromatic
#531C6D #79289E #9D37CC #B568D8 #CD99E5

Accessibility & contrast

On white

5.45
#9D37CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9D37CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37CC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37CC#FFFFFF#000000##FFFFFF
##9D37CC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#266CC9
Tritanopia (blue-blind)
#98587F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d37cc;
/* rgb */ color: rgb(157, 55, 204);
/* oklch */ color: oklch(55.1% 0.223 312.6);
Tailwind
colors: {
  custom: {
    50: '#be77dc',
    500: '#9d37cc',
    950: '#000000',
  },
}
SCSS
$custom: #9d37cc;
$custom-light: #be77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37cc",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 281.074,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55095,
    "c": 0.22317,
    "h": 312.6
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D37CC

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

Preview Lab → · Contrast checker → · Palette generator →

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