#9D37D2#9D37D2

#9D37D2 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.5% C 0.229 H 311.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9D37D2
RGBrgb(157, 55, 210)
HSLhsl(279, 63%, 52%)
HSVhsv(279, 74%, 82%)
CMYKcmyk(25.2%, 73.8%, 0%, 17.6%)
CIE-LABlab(45.02, 65.28, -60.88)
CIE-LCHlch(45.02, 89.26, 317.00°)
OKLaboklab(55.52% 0.1503 -0.1724)
OKLCHoklch(55.52% 0.229 311.1)
XYZxyz(26.9015, 14.5543, 62.3524)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37D2 #6CD237
analogous
#5037D2 #9D37D2 #D237B9
triadic
#9D37D2 #D29D37 #37D29D
tetradic
#9D37D2 #D25037 #6CD237 #37B9D2
square
#9D37D2 #D25037 #6CD237 #37B9D2
split-complementary
#9D37D2 #B9D237 #37D250
monochromatic
#561A74 #7A25A6 #9D37D2 #B569DD #CE9BE8

Accessibility & contrast

On white

5.37
#9D37D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9D37D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37D2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37D2#FFFFFF#000000##FFFFFF
##9D37D21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#196CCF
Tritanopia (blue-blind)
#965B82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d37d2;
/* rgb */ color: rgb(157, 55, 210);
/* oklch */ color: oklch(55.5% 0.229 311.1);
Tailwind
colors: {
  custom: {
    50: '#bf78e1',
    500: '#9d37d2',
    950: '#000000',
  },
}
SCSS
$custom: #9d37d2;
$custom-light: #bf78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37d2",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 210
  },
  "hsl": {
    "h": 279.484,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55518,
    "c": 0.22867,
    "h": 311.1
  },
  "luminance": 0.14554
}

Semantic roles & 50–950 ramp

primary
#9D37D2
secondary
#A8D490
accent
#E6417A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D37D2

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

Preview Lab → · Contrast checker → · Palette generator →

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