#9936AA#9936AA

#9936AA is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.192 H 321.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9936AA
RGBrgb(153, 54, 170)
HSLhsl(291, 52%, 44%)
HSVhsv(291, 68%, 67%)
CMYKcmyk(10%, 68.2%, 0%, 33.3%)
CIE-LABlab(41.71, 56.89, -42.84)
CIE-LCHlch(41.71, 71.22, 323.02°)
OKLaboklab(52.22% 0.1502 -0.1196)
OKLCHoklch(52.22% 0.192 321.5)
XYZxyz(21.7109, 12.3141, 39.2557)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9936AA #47AA36
analogous
#5F36AA #9936AA #AA3681
triadic
#9936AA #AA9936 #36AA99
tetradic
#9936AA #AA5F36 #47AA36 #3681AA
square
#9936AA #AA5F36 #47AA36 #3681AA
split-complementary
#9936AA #81AA36 #36AA5F
monochromatic
#45184D #6F277C #9936AA #B854C9 #CB83D8

Accessibility & contrast

On white

6.06
#9936AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9936AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9936AA#FFFFFF#000000##FFFFFF
##9936AA1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAD
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#9A4A6C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9936aa;
/* rgb */ color: rgb(153, 54, 170);
/* oklch */ color: oklch(52.2% 0.192 321.5);
Tailwind
colors: {
  custom: {
    50: '#ba75c4',
    500: '#9936aa',
    950: '#000000',
  },
}
SCSS
$custom: #9936aa;
$custom-light: #ba75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9936aa",
  "rgb": {
    "r": 153,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 291.207,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52219,
    "c": 0.19197,
    "h": 321.5
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#9936AA
secondary
#85C17B
accent
#DB4D61
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9936AA

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

Preview Lab → · Contrast checker → · Palette generator →

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