#9A37BF#9A37BF

#9A37BF is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.210 H 315.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9A37BF
RGBrgb(154, 55, 191)
HSLhsl(284, 55%, 48%)
HSVhsv(284, 71%, 75%)
CMYKcmyk(19.4%, 71.2%, 0%, 25.1%)
CIE-LABlab(43.31, 60.81, -52.65)
CIE-LCHlch(43.31, 80.43, 319.11°)
OKLaboklab(53.81% 0.149 -0.1483)
OKLCHoklch(53.81% 0.21 315.1)
XYZxyz(24.0951, 13.3649, 50.5906)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37BF #5CBF37
analogous
#5637BF #9A37BF #BF37A0
triadic
#9A37BF #BF9A37 #37BF9A
tetradic
#9A37BF #BF5637 #5CBF37 #37A0BF
square
#9A37BF #BF5637 #5CBF37 #37A0BF
split-complementary
#9A37BF #A0BF37 #37BF56
monochromatic
#4D1C60 #74298F #9A37BF #B362D2 #CA91DF

Accessibility & contrast

On white

5.72
#9A37BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9A37BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A37BF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37BF#FFFFFF#000000##FFFFFF
##9A37BF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#975378
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a37bf;
/* rgb */ color: rgb(154, 55, 191);
/* oklch */ color: oklch(53.8% 0.210 315.1);
Tailwind
colors: {
  custom: {
    50: '#bc77d3',
    500: '#9a37bf',
    950: '#000000',
  },
}
SCSS
$custom: #9a37bf;
$custom-light: #bc77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37bf",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 283.676,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5381,
    "c": 0.21022,
    "h": 315.1
  },
  "luminance": 0.13364
}

Semantic roles & 50–950 ramp

primary
#9A37BF
secondary
#9ACA88
accent
#DF4972
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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