#9926A8#9926A8

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

Color values

HEX#9926A8
RGBrgb(153, 38, 168)
HSLhsl(293, 63%, 40%)
HSVhsv(293, 77%, 66%)
CMYKcmyk(8.9%, 77.4%, 0%, 34.1%)
CIE-LABlab(39.56, 62.30, -45.09)
CIE-LCHlch(39.56, 76.91, 324.10°)
OKLaboklab(50.64% 0.1659 -0.1261)
OKLCHoklch(50.64% 0.208 322.8)
XYZxyz(20.8972, 10.9869, 38.0582)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9926A8 #35A826
analogous
#5826A8 #9926A8 #A82676
triadic
#9926A8 #A89926 #26A899
tetradic
#9926A8 #A85826 #35A826 #2676A8
square
#9926A8 #A85826 #35A826 #2676A8
split-complementary
#9926A8 #76A826 #26A858
monochromatic
#3E0F44 #6C1B76 #9926A8 #C139D2 #D06BDE

Accessibility & contrast

On white

6.57
#9926A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9926A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9926A8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9926A8#FFFFFF#000000##FFFFFF
##9926A81.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)
#0055AB
Deuteranopia (green-blind)
#3B61A5
Tritanopia (blue-blind)
#9B4066
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9926a8;
/* rgb */ color: rgb(153, 38, 168);
/* oklch */ color: oklch(50.6% 0.208 322.8);
Tailwind
colors: {
  custom: {
    50: '#bb6ec2',
    500: '#9926a8',
    950: '#000000',
  },
}
SCSS
$custom: #9926a8;
$custom-light: #bb6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9926a8",
  "rgb": {
    "r": 153,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 293.077,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.20835,
    "h": 322.8
  },
  "luminance": 0.10986
}

Semantic roles & 50–950 ramp

primary
#9926A8
secondary
#71C466
accent
#E64255
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9926A8

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

Preview Lab → · Contrast checker → · Palette generator →

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