#9A37AC#9A37AC

#9A37AC is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.193 H 321.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9A37AC
RGBrgb(154, 55, 172)
HSLhsl(291, 52%, 45%)
HSVhsv(291, 68%, 67%)
CMYKcmyk(10.5%, 68%, 0%, 32.5%)
CIE-LABlab(42.13, 57.09, -43.36)
CIE-LCHlch(42.13, 71.69, 322.78°)
OKLaboklab(52.59% 0.1502 -0.1211)
OKLCHoklch(52.59% 0.193 321.1)
XYZxyz(22.1382, 12.5821, 40.2842)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37AC #49AC37
analogous
#5F37AC #9A37AC #AC3784
triadic
#9A37AC #AC9A37 #37AC9A
tetradic
#9A37AC #AC5F37 #49AC37 #3784AC
square
#9A37AC #AC5F37 #49AC37 #3784AC
split-complementary
#9A37AC #84AC37 #37AC5F
monochromatic
#47194F #70287E #9A37AC #B857C9 #CB85D8

Accessibility & contrast

On white

5.97
#9A37AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9A37AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A37AC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37AC#FFFFFF#000000##FFFFFF
##9A37AC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAF
Deuteranopia (green-blind)
#4467A9
Tritanopia (blue-blind)
#9B4B6D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a37ac;
/* rgb */ color: rgb(154, 55, 172);
/* oklch */ color: oklch(52.6% 0.193 321.1);
Tailwind
colors: {
  custom: {
    50: '#bb76c5',
    500: '#9a37ac',
    950: '#000000',
  },
}
SCSS
$custom: #9a37ac;
$custom-light: #bb76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37ac",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 290.769,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.19293,
    "h": 321.1
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#9A37AC
secondary
#88C27D
accent
#DB4D63
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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