#9D37B2#9D37B2

#9D37B2 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.4% C 0.200 H 320.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9D37B2
RGBrgb(157, 55, 178)
HSLhsl(290, 53%, 46%)
HSVhsv(290, 69%, 70%)
CMYKcmyk(11.8%, 69.1%, 0%, 30.2%)
CIE-LABlab(42.94, 58.91, -45.59)
CIE-LCHlch(42.94, 74.49, 322.27°)
OKLaboklab(53.37% 0.1536 -0.1275)
OKLCHoklch(53.37% 0.2 320.3)
XYZxyz(23.3057, 13.1160, 43.4149)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37B2 #4CB237
analogous
#5F37B2 #9D37B2 #B23789
triadic
#9D37B2 #B29D37 #37B29D
tetradic
#9D37B2 #B25F37 #4CB237 #3789B2
square
#9D37B2 #B25F37 #4CB237 #3789B2
split-complementary
#9D37B2 #89B237 #37B25F
monochromatic
#4B1A54 #742983 #9D37B2 #B95ACC #CD89DB

Accessibility & contrast

On white

5.80
#9D37B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9D37B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37B2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37B2#FFFFFF#000000##FFFFFF
##9D37B21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015EB6
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#9E4D70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d37b2;
/* rgb */ color: rgb(157, 55, 178);
/* oklch */ color: oklch(53.4% 0.200 320.3);
Tailwind
colors: {
  custom: {
    50: '#bd76ca',
    500: '#9d37b2',
    950: '#000000',
  },
}
SCSS
$custom: #9d37b2;
$custom-light: #bd76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37b2",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 289.756,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53375,
    "c": 0.19963,
    "h": 320.3
  },
  "luminance": 0.13115
}

Semantic roles & 50–950 ramp

primary
#9D37B2
secondary
#8CC580
accent
#DC4C64
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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