#9927AA#9927AA

#9927AA is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.209 H 322.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9927AA
RGBrgb(153, 39, 170)
HSLhsl(292, 63%, 41%)
HSVhsv(292, 77%, 67%)
CMYKcmyk(10%, 77.1%, 0%, 33.3%)
CIE-LABlab(39.79, 62.35, -45.91)
CIE-LCHlch(39.79, 77.43, 323.63°)
OKLaboklab(50.85% 0.1648 -0.1285)
OKLCHoklch(50.85% 0.209 322.1)
XYZxyz(21.1173, 11.1268, 39.0578)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9927AA #38AA27
analogous
#5727AA #9927AA #AA2779
triadic
#9927AA #AA9927 #27AA99
tetradic
#9927AA #AA5727 #38AA27 #2779AA
square
#9927AA #AA5727 #38AA27 #2779AA
split-complementary
#9927AA #79AA27 #27AA57
monochromatic
#3F1046 #6C1C78 #9927AA #BF3CD2 #CF6EDE

Accessibility & contrast

On white

6.51
#9927AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9927AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9927AA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9927AA#FFFFFF#000000##FFFFFF
##9927AA1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#3A62A7
Tritanopia (blue-blind)
#9B4168
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9927aa;
/* rgb */ color: rgb(153, 39, 170);
/* oklch */ color: oklch(50.9% 0.209 322.1);
Tailwind
colors: {
  custom: {
    50: '#bb6fc4',
    500: '#9927aa',
    950: '#000000',
  },
}
SCSS
$custom: #9927aa;
$custom-light: #bb6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9927aa",
  "rgb": {
    "r": 153,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 292.214,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.209,
    "h": 322.1
  },
  "luminance": 0.11126
}

Semantic roles & 50–950 ramp

primary
#9927AA
secondary
#74C469
accent
#E64257
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9927AA

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

Preview Lab → · Contrast checker → · Palette generator →

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