#9939AB#9939AB

#9939AB is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.189 H 321.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9939AB
RGBrgb(153, 57, 171)
HSLhsl(291, 50%, 45%)
HSVhsv(291, 67%, 67%)
CMYKcmyk(10.5%, 66.7%, 0%, 32.9%)
CIE-LABlab(42.22, 55.83, -42.63)
CIE-LCHlch(42.22, 70.25, 322.63°)
OKLaboklab(52.6% 0.1468 -0.119)
OKLCHoklch(52.6% 0.189 321)
XYZxyz(21.9498, 12.6399, 39.8038)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939AB #4BAB39
analogous
#6039AB #9939AB #AB3984
triadic
#9939AB #AB9939 #39AB99
tetradic
#9939AB #AB6039 #4BAB39 #3984AB
square
#9939AB #AB6039 #4BAB39 #3984AB
split-complementary
#9939AB #84AB39 #39AB60
monochromatic
#471A4F #702A7D #9939AB #B659C8 #CA87D7

Accessibility & contrast

On white

5.95
#9939AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9939AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939AB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939AB#FFFFFF#000000##FFFFFF
##9939AB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAE
Deuteranopia (green-blind)
#4567A8
Tritanopia (blue-blind)
#9A4C6D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9939ab;
/* rgb */ color: rgb(153, 57, 171);
/* oklch */ color: oklch(52.6% 0.189 321.0);
Tailwind
colors: {
  custom: {
    50: '#ba77c4',
    500: '#9939ab',
    950: '#000000',
  },
}
SCSS
$custom: #9939ab;
$custom-light: #ba77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9939ab",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 290.526,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.18897,
    "h": 321
  },
  "luminance": 0.12639
}

Semantic roles & 50–950 ramp

primary
#9939AB
secondary
#89C17F
accent
#DA4E64
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9939AB

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

Preview Lab → · Contrast checker → · Palette generator →

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