#9937AB#9937AB

#9937AB is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.192 H 321.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9937AB
RGBrgb(153, 55, 171)
HSLhsl(291, 51%, 44%)
HSVhsv(291, 68%, 67%)
CMYKcmyk(10.5%, 67.8%, 0%, 32.9%)
CIE-LABlab(41.92, 56.67, -43.11)
CIE-LCHlch(41.92, 71.20, 322.74°)
OKLaboklab(52.39% 0.149 -0.1204)
OKLCHoklch(52.39% 0.192 321.1)
XYZxyz(21.8529, 12.4461, 39.7714)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937AB #49AB37
analogous
#5F37AB #9937AB #AB3783
triadic
#9937AB #AB9937 #37AB99
tetradic
#9937AB #AB5F37 #49AB37 #3783AB
square
#9937AB #AB5F37 #49AB37 #3783AB
split-complementary
#9937AB #83AB37 #37AB5F
monochromatic
#46194E #70287D #9937AB #B756C9 #CB85D8

Accessibility & contrast

On white

6.02
#9937AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9937AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937AB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937AB#FFFFFF#000000##FFFFFF
##9937AB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAE
Deuteranopia (green-blind)
#4466A8
Tritanopia (blue-blind)
#9A4B6D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9937ab;
/* rgb */ color: rgb(153, 55, 171);
/* oklch */ color: oklch(52.4% 0.192 321.1);
Tailwind
colors: {
  custom: {
    50: '#ba76c4',
    500: '#9937ab',
    950: '#000000',
  },
}
SCSS
$custom: #9937ab;
$custom-light: #ba76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9937ab",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 290.69,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.19158,
    "h": 321.1
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#9937AB
secondary
#87C17C
accent
#DB4D63
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9937AB

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

Preview Lab → · Contrast checker → · Palette generator →

#9937AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva