#9D37DA#9D37DA

#9D37DA is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.1% C 0.236 H 309.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9D37DA
RGBrgb(157, 55, 218)
HSLhsl(278, 69%, 54%)
HSVhsv(278, 75%, 85%)
CMYKcmyk(28%, 74.8%, 0%, 14.5%)
CIE-LABlab(45.58, 66.94, -64.55)
CIE-LCHlch(45.58, 93.00, 316.04°)
OKLaboklab(56.09% 0.1489 -0.1832)
OKLCHoklch(56.09% 0.236 309.1)
XYZxyz(27.9231, 14.9630, 67.7332)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37DA #74DA37
analogous
#4B37DA #9D37DA #DA37C5
triadic
#9D37DA #DA9D37 #37DA9D
tetradic
#9D37DA #DA4B37 #74DA37 #37C5DA
square
#9D37DA #DA4B37 #74DA37 #37C5DA
split-complementary
#9D37DA #C5DA37 #37DA4B
monochromatic
#58187F #7C21B3 #9D37DA #B66BE4 #D09EED

Accessibility & contrast

On white

5.26
#9D37DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9D37DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37DA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37DA#FFFFFF#000000##FFFFFF
##9D37DA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#945E87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d37da;
/* rgb */ color: rgb(157, 55, 218);
/* oklch */ color: oklch(56.1% 0.236 309.1);
Tailwind
colors: {
  custom: {
    50: '#bf78e6',
    500: '#9d37da',
    950: '#000000',
  },
}
SCSS
$custom: #9d37da;
$custom-light: #bf78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37da",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 277.546,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56095,
    "c": 0.23602,
    "h": 309.1
  },
  "luminance": 0.14962
}

Semantic roles & 50–950 ramp

primary
#9D37DA
secondary
#AED993
accent
#EC3C7E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D37DA

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

Preview Lab → · Contrast checker → · Palette generator →

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