#9D37D1#9D37D1

#9D37D1 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.4% C 0.228 H 311.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9D37D1
RGBrgb(157, 55, 209)
HSLhsl(280, 63%, 52%)
HSVhsv(280, 74%, 82%)
CMYKcmyk(24.9%, 73.7%, 0%, 18%)
CIE-LABlab(44.95, 65.07, -60.42)
CIE-LCHlch(44.95, 88.80, 317.12°)
OKLaboklab(55.45% 0.1504 -0.171)
OKLCHoklch(55.45% 0.228 311.3)
XYZxyz(26.7773, 14.5046, 61.6983)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37D1 #6BD137
analogous
#5037D1 #9D37D1 #D137B8
triadic
#9D37D1 #D19D37 #37D19D
tetradic
#9D37D1 #D15037 #6BD137 #37B8D1
square
#9D37D1 #D15037 #6BD137 #37B8D1
split-complementary
#9D37D1 #B8D137 #37D150
monochromatic
#551A73 #7A26A5 #9D37D1 #B569DC #CE9BE8

Accessibility & contrast

On white

5.38
#9D37D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9D37D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37D1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37D1#FFFFFF#000000##FFFFFF
##9D37D11.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#1C6CCE
Tritanopia (blue-blind)
#965A82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d37d1;
/* rgb */ color: rgb(157, 55, 209);
/* oklch */ color: oklch(55.4% 0.228 311.3);
Tailwind
colors: {
  custom: {
    50: '#bf78e0',
    500: '#9d37d1',
    950: '#000000',
  },
}
SCSS
$custom: #9d37d1;
$custom-light: #bf78e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37d1",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 279.74,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55447,
    "c": 0.22775,
    "h": 311.3
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#9D37D1
secondary
#A7D490
accent
#E64279
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D37D1

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

Preview Lab → · Contrast checker → · Palette generator →

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