#9A37D7#9A37D7

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

Color values

HEX#9A37D7
RGBrgb(154, 55, 215)
HSLhsl(277, 67%, 53%)
HSVhsv(277, 74%, 84%)
CMYKcmyk(28.4%, 74.4%, 0%, 15.7%)
CIE-LABlab(44.95, 65.77, -63.87)
CIE-LCHlch(44.95, 91.68, 315.84°)
OKLaboklab(55.5% 0.1455 -0.1813)
OKLCHoklch(55.5% 0.232 308.8)
XYZxyz(26.9558, 14.5092, 65.6573)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37D7 #74D737
analogous
#4A37D7 #9A37D7 #D737C4
triadic
#9A37D7 #D79A37 #37D79A
tetradic
#9A37D7 #D74A37 #74D737 #37C4D7
square
#9A37D7 #D74A37 #74D737 #37C4D7
split-complementary
#9A37D7 #C4D737 #37D74A
monochromatic
#55197B #7923AE #9A37D7 #B46AE1 #CE9DEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A37D7#FFFFFF#000000##FFFFFF
##9A37D71.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)
#0067DB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#915D85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a37d7;
/* rgb */ color: rgb(154, 55, 215);
/* oklch */ color: oklch(55.5% 0.232 308.8);
Tailwind
colors: {
  custom: {
    50: '#bd78e4',
    500: '#9a37d7',
    950: '#000000',
  },
}
SCSS
$custom: #9a37d7;
$custom-light: #bd78e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37d7",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 277.125,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55498,
    "c": 0.23243,
    "h": 308.8
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#9A37D7
secondary
#ADD792
accent
#EA3E80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A37D7

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

Preview Lab → · Contrast checker → · Palette generator →

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