#9628A9#9628A9

#9628A9 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.206 H 321.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9628A9
RGBrgb(150, 40, 169)
HSLhsl(291, 62%, 41%)
HSVhsv(291, 76%, 66%)
CMYKcmyk(11.2%, 76.3%, 0%, 33.7%)
CIE-LABlab(39.36, 61.24, -46.04)
CIE-LCHlch(39.36, 76.61, 323.06°)
OKLaboklab(50.43% 0.1606 -0.129)
OKLCHoklch(50.43% 0.206 321.2)
XYZxyz(20.4971, 10.8673, 38.5464)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9628A9 #3BA928
analogous
#5528A9 #9628A9 #A9287B
triadic
#9628A9 #A99628 #28A996
tetradic
#9628A9 #A95528 #3BA928 #287BA9
square
#9628A9 #A95528 #3BA928 #287BA9
split-complementary
#9628A9 #7BA928 #28A955
monochromatic
#3E1146 #6A1C78 #9628A9 #BB3DD1 #CD6FDD

Accessibility & contrast

On white

6.62
#9628A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9628A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9628A9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9628A9#FFFFFF#000000##FFFFFF
##9628A91.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#3861A6
Tritanopia (blue-blind)
#974267
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9628a9;
/* rgb */ color: rgb(150, 40, 169);
/* oklch */ color: oklch(50.4% 0.206 321.2);
Tailwind
colors: {
  custom: {
    50: '#b96ec3',
    500: '#9628a9',
    950: '#000000',
  },
}
SCSS
$custom: #9628a9;
$custom-light: #b96ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#9628a9",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 291.163,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.20594,
    "h": 321.2
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#9628A9
secondary
#77C469
accent
#E5435B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9628A9

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

Preview Lab → · Contrast checker → · Palette generator →

#9628A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva