#9936AB#9936AB

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

Color values

HEX#9936AB
RGBrgb(153, 54, 171)
HSLhsl(291, 52%, 44%)
HSVhsv(291, 68%, 67%)
CMYKcmyk(10.5%, 68.4%, 0%, 32.9%)
CIE-LABlab(41.77, 57.08, -43.34)
CIE-LCHlch(41.77, 71.67, 322.79°)
OKLaboklab(52.28% 0.1501 -0.1211)
OKLCHoklch(52.28% 0.193 321.1)
XYZxyz(21.8059, 12.3520, 39.7558)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9936AB #48AB36
analogous
#5F36AB #9936AB #AB3683
triadic
#9936AB #AB9936 #36AB99
tetradic
#9936AB #AB5F36 #48AB36 #3683AB
square
#9936AB #AB5F36 #48AB36 #3683AB
split-complementary
#9936AB #83AB36 #36AB5F
monochromatic
#46194E #6F277C #9936AB #B755C9 #CB83D8

Accessibility & contrast

On white

6.05
#9936AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9936AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9936AB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9936AB#FFFFFF#000000##FFFFFF
##9936AB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5CAE
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#9A4B6C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9936ab;
/* rgb */ color: rgb(153, 54, 171);
/* oklch */ color: oklch(52.3% 0.193 321.1);
Tailwind
colors: {
  custom: {
    50: '#ba75c4',
    500: '#9936ab',
    950: '#000000',
  },
}
SCSS
$custom: #9936ab;
$custom-light: #ba75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9936ab",
  "rgb": {
    "r": 153,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 290.769,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.19286,
    "h": 321.1
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#9936AB
secondary
#86C27B
accent
#DB4C62
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9936AB

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

Preview Lab → · Contrast checker → · Palette generator →

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