#9928A8#9928A8

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

Color values

HEX#9928A8
RGBrgb(153, 40, 168)
HSLhsl(293, 62%, 41%)
HSVhsv(293, 76%, 66%)
CMYKcmyk(8.9%, 76.2%, 0%, 34.1%)
CIE-LABlab(39.78, 61.67, -44.74)
CIE-LCHlch(39.78, 76.19, 324.04°)
OKLaboklab(50.8% 0.1642 -0.1251)
OKLCHoklch(50.8% 0.206 322.7)
XYZxyz(20.9628, 11.1183, 38.0801)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9928A8 #37A828
analogous
#5928A8 #9928A8 #A82877
triadic
#9928A8 #A89928 #28A899
tetradic
#9928A8 #A85928 #37A828 #2877A8
square
#9928A8 #A85928 #37A828 #2877A8
split-complementary
#9928A8 #77A828 #28A859
monochromatic
#3F1045 #6C1C77 #9928A8 #BF3DD1 #D06EDC

Accessibility & contrast

On white

6.51
#9928A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9928A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9928A8#FFFFFF#000000##FFFFFF
##9928A81.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#3D62A5
Tritanopia (blue-blind)
#9B4167
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9928a8;
/* rgb */ color: rgb(153, 40, 168);
/* oklch */ color: oklch(50.8% 0.206 322.7);
Tailwind
colors: {
  custom: {
    50: '#bb6fc2',
    500: '#9928a8',
    950: '#000000',
  },
}
SCSS
$custom: #9928a8;
$custom-light: #bb6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9928a8",
  "rgb": {
    "r": 153,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 292.969,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.508,
    "c": 0.20636,
    "h": 322.7
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#9928A8
secondary
#73C369
accent
#E54356
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9928A8

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

Preview Lab → · Contrast checker → · Palette generator →

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