#9D37BC#9D37BC

#9D37BC is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.209 H 317.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9D37BC
RGBrgb(157, 55, 188)
HSLhsl(286, 55%, 48%)
HSVhsv(286, 71%, 74%)
CMYKcmyk(16.5%, 70.7%, 0%, 26.3%)
CIE-LABlab(43.55, 60.84, -50.48)
CIE-LCHlch(43.55, 79.06, 320.32°)
OKLaboklab(54.01% 0.153 -0.1418)
OKLCHoklch(54.01% 0.209 317.2)
XYZxyz(24.3466, 13.5323, 48.8967)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37BC #56BC37
analogous
#5A37BC #9D37BC #BC3799
triadic
#9D37BC #BC9D37 #37BC9D
tetradic
#9D37BC #BC5A37 #56BC37 #3799BC
square
#9D37BC #BC5A37 #56BC37 #3799BC
split-complementary
#9D37BC #99BC37 #37BC5A
monochromatic
#4E1B5D #75298D #9D37BC #B660D0 #CC8FDE

Accessibility & contrast

On white

5.67
#9D37BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9D37BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37BC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37BC#FFFFFF#000000##FFFFFF
##9D37BC1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#9C5276
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d37bc;
/* rgb */ color: rgb(157, 55, 188);
/* oklch */ color: oklch(54.0% 0.209 317.2);
Tailwind
colors: {
  custom: {
    50: '#be77d1',
    500: '#9d37bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d37bc;
$custom-light: #be77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37bc",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 286.015,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.2086,
    "h": 317.2
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

primary
#9D37BC
secondary
#95C986
accent
#DE4A6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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