#9D37BB#9D37BB

#9D37BB is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 53.9% C 0.208 H 317.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9D37BB
RGBrgb(157, 55, 187)
HSLhsl(286, 55%, 47%)
HSVhsv(286, 71%, 73%)
CMYKcmyk(16%, 70.6%, 0%, 26.7%)
CIE-LABlab(43.49, 60.65, -49.99)
CIE-LCHlch(43.49, 78.60, 320.50°)
OKLaboklab(53.95% 0.1531 -0.1404)
OKLCHoklch(53.95% 0.208 317.5)
XYZxyz(24.2392, 13.4894, 48.3310)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37BB #55BB37
analogous
#5B37BB #9D37BB #BB3797
triadic
#9D37BB #BB9D37 #37BB9D
tetradic
#9D37BB #BB5B37 #55BB37 #3797BB
square
#9D37BB #BB5B37 #55BB37 #3797BB
split-complementary
#9D37BB #97BB37 #37BB5B
monochromatic
#4E1B5C #75298C #9D37BB #B65FD0 #CC8EDE

Accessibility & contrast

On white

5.68
#9D37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9D37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37BB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37BB#FFFFFF#000000##FFFFFF
##9D37BB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#9C5175
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d37bb;
/* rgb */ color: rgb(157, 55, 187);
/* oklch */ color: oklch(53.9% 0.208 317.5);
Tailwind
colors: {
  custom: {
    50: '#be77d0',
    500: '#9d37bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d37bb;
$custom-light: #be77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37bb",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 286.364,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53949,
    "c": 0.2077,
    "h": 317.5
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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