#9928A2#9928A2

#9928A2 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.201 H 324.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9928A2
RGBrgb(153, 40, 162)
HSLhsl(296, 60%, 40%)
HSVhsv(296, 75%, 64%)
CMYKcmyk(5.6%, 75.3%, 0%, 36.5%)
CIE-LABlab(39.41, 60.60, -41.73)
CIE-LCHlch(39.41, 73.58, 325.45°)
OKLaboklab(50.42% 0.1645 -0.1163)
OKLCHoklch(50.42% 0.201 324.7)
XYZxyz(20.4167, 10.8998, 35.2039)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9928A2 #31A228
analogous
#5C28A2 #9928A2 #A2286E
triadic
#9928A2 #A29928 #28A299
tetradic
#9928A2 #A25C28 #31A228 #286EA2
square
#9928A2 #A25C28 #31A228 #286EA2
split-complementary
#9928A2 #6EA228 #28A25C
monochromatic
#3C1040 #6B1C71 #9928A2 #C339CE #D26ADA

Accessibility & contrast

On white

6.60
#9928A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9928A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9928A2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9928A2#FFFFFF#000000##FFFFFF
##9928A21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#41619F
Tritanopia (blue-blind)
#9C3E63
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9928a2;
/* rgb */ color: rgb(153, 40, 162);
/* oklch */ color: oklch(50.4% 0.201 324.7);
Tailwind
colors: {
  custom: {
    50: '#bb6fbe',
    500: '#9928a2',
    950: '#000000',
  },
}
SCSS
$custom: #9928a2;
$custom-light: #bb6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9928a2",
  "rgb": {
    "r": 153,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 295.574,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50421,
    "c": 0.20147,
    "h": 324.7
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#9928A2
secondary
#6CC165
accent
#E44450
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9928A2

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

Preview Lab → · Contrast checker → · Palette generator →

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