#9A37D0#9A37D0

#9A37D0 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.0% C 0.226 H 310.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9A37D0
RGBrgb(154, 55, 208)
HSLhsl(279, 62%, 52%)
HSVhsv(279, 74%, 82%)
CMYKcmyk(26%, 73.6%, 0%, 18.4%)
CIE-LABlab(44.46, 64.30, -60.66)
CIE-LCHlch(44.46, 88.39, 316.67°)
OKLaboklab(54.99% 0.1467 -0.1718)
OKLCHoklch(54.99% 0.226 310.5)
XYZxyz(26.0756, 14.1571, 61.0212)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37D0 #6DD037
analogous
#4E37D0 #9A37D0 #D037B9
triadic
#9A37D0 #D09A37 #37D09A
tetradic
#9A37D0 #D04E37 #6DD037 #37B9D0
square
#9A37D0 #D04E37 #6DD037 #37B9D0
split-complementary
#9A37D0 #B9D037 #37D04E
monochromatic
#531B72 #7726A3 #9A37D0 #B369DC #CC9AE7

Accessibility & contrast

On white

5.48
#9A37D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9A37D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A37D0
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37D0#FFFFFF#000000##FFFFFF
##9A37D01.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#166BCD
Tritanopia (blue-blind)
#935A81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a37d0;
/* rgb */ color: rgb(154, 55, 208);
/* oklch */ color: oklch(55.0% 0.226 310.5);
Tailwind
colors: {
  custom: {
    50: '#bd77df',
    500: '#9a37d0',
    950: '#000000',
  },
}
SCSS
$custom: #9a37d0;
$custom-light: #bd77df;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37d0",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 278.824,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5499,
    "c": 0.22593,
    "h": 310.5
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#9A37D0
secondary
#A8D390
accent
#E5437C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A37D0

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

Preview Lab → · Contrast checker → · Palette generator →

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