#9927A8#9927A8

#9927A8 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.207 H 322.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9927A8
RGBrgb(153, 39, 168)
HSLhsl(293, 62%, 41%)
HSVhsv(293, 77%, 66%)
CMYKcmyk(8.9%, 76.8%, 0%, 34.1%)
CIE-LABlab(39.67, 61.99, -44.92)
CIE-LCHlch(39.67, 76.55, 324.07°)
OKLaboklab(50.72% 0.165 -0.1256)
OKLCHoklch(50.72% 0.207 322.7)
XYZxyz(20.9296, 11.0517, 38.0690)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9927A8 #36A827
analogous
#5827A8 #9927A8 #A82776
triadic
#9927A8 #A89927 #27A899
tetradic
#9927A8 #A85827 #36A827 #2776A8
square
#9927A8 #A85827 #36A827 #2776A8
split-complementary
#9927A8 #76A827 #27A858
monochromatic
#3F1045 #6C1B76 #9927A8 #C03BD1 #D06CDD

Accessibility & contrast

On white

6.54
#9927A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9927A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9927A8#FFFFFF#000000##FFFFFF
##9927A81.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#3C62A5
Tritanopia (blue-blind)
#9B4067
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9927a8;
/* rgb */ color: rgb(153, 39, 168);
/* oklch */ color: oklch(50.7% 0.207 322.7);
Tailwind
colors: {
  custom: {
    50: '#bb6ec2',
    500: '#9927a8',
    950: '#000000',
  },
}
SCSS
$custom: #9927a8;
$custom-light: #bb6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9927a8",
  "rgb": {
    "r": 153,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 293.023,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.20736,
    "h": 322.7
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#9927A8
secondary
#72C367
accent
#E54255
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9927A8

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

Preview Lab → · Contrast checker → · Palette generator →

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