#9A37DA#9A37DA

#9A37DA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.7% C 0.235 H 308.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9A37DA
RGBrgb(154, 55, 218)
HSLhsl(276, 69%, 54%)
HSVhsv(276, 75%, 85%)
CMYKcmyk(29.4%, 74.8%, 0%, 14.5%)
CIE-LABlab(45.17, 66.41, -65.24)
CIE-LCHlch(45.17, 93.09, 315.51°)
OKLaboklab(55.72% 0.1449 -0.1853)
OKLCHoklch(55.72% 0.235 308)
XYZxyz(27.3449, 14.6648, 67.7061)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37DA #77DA37
analogous
#4837DA #9A37DA #DA37C8
triadic
#9A37DA #DA9A37 #37DA9A
tetradic
#9A37DA #DA4837 #77DA37 #37C8DA
square
#9A37DA #DA4837 #77DA37 #37C8DA
split-complementary
#9A37DA #C8DA37 #37DA48
monochromatic
#56187F #7A21B3 #9A37DA #B46BE4 #CE9EED

Accessibility & contrast

On white

5.34
#9A37DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9A37DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A37DA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37DA#FFFFFF#000000##FFFFFF
##9A37DA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#905F87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a37da;
/* rgb */ color: rgb(154, 55, 218);
/* oklch */ color: oklch(55.7% 0.235 308.0);
Tailwind
colors: {
  custom: {
    50: '#bd78e6',
    500: '#9a37da',
    950: '#000000',
  },
}
SCSS
$custom: #9a37da;
$custom-light: #bd78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37da",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 276.442,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55719,
    "c": 0.23524,
    "h": 308
  },
  "luminance": 0.14664
}

Semantic roles & 50–950 ramp

primary
#9A37DA
secondary
#AFD993
accent
#EC3C81
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A37DA

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

Preview Lab → · Contrast checker → · Palette generator →

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