#9927A6#9927A6

#9927A6 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.206 H 323.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9927A6
RGBrgb(153, 39, 166)
HSLhsl(294, 62%, 40%)
HSVhsv(294, 77%, 65%)
CMYKcmyk(7.8%, 76.5%, 0%, 34.9%)
CIE-LABlab(39.54, 61.63, -43.92)
CIE-LCHlch(39.54, 75.68, 324.52°)
OKLaboklab(50.59% 0.1652 -0.1227)
OKLCHoklch(50.59% 0.206 323.4)
XYZxyz(20.7447, 10.9778, 37.0953)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9927A6 #34A627
analogous
#5927A6 #9927A6 #A62774
triadic
#9927A6 #A69927 #27A699
tetradic
#9927A6 #A65927 #34A627 #2774A6
square
#9927A6 #A65927 #34A627 #2774A6
split-complementary
#9927A6 #74A627 #27A659
monochromatic
#3E1043 #6B1B74 #9927A6 #C13AD1 #D16BDC

Accessibility & contrast

On white

6.57
#9927A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9927A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9927A6#FFFFFF#000000##FFFFFF
##9927A61.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#9C3F65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9927a6;
/* rgb */ color: rgb(153, 39, 166);
/* oklch */ color: oklch(50.6% 0.206 323.4);
Tailwind
colors: {
  custom: {
    50: '#bb6ec1',
    500: '#9927a6',
    950: '#000000',
  },
}
SCSS
$custom: #9927a6;
$custom-light: #bb6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9927a6",
  "rgb": {
    "r": 153,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 293.858,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.20573,
    "h": 323.4
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#9927A6
secondary
#70C366
accent
#E54353
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9927A6

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

Preview Lab → · Contrast checker → · Palette generator →

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