#9628AA#9628AA

#9628AA is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.207 H 320.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9628AA
RGBrgb(150, 40, 170)
HSLhsl(291, 62%, 41%)
HSVhsv(291, 76%, 67%)
CMYKcmyk(11.8%, 76.5%, 0%, 33.3%)
CIE-LABlab(39.42, 61.42, -46.54)
CIE-LCHlch(39.42, 77.06, 322.85°)
OKLaboklab(50.49% 0.1605 -0.1304)
OKLCHoklch(50.49% 0.207 320.9)
XYZxyz(20.5913, 10.9050, 39.0427)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9628AA #3CAA28
analogous
#5528AA #9628AA #AA287D
triadic
#9628AA #AA9628 #28AA96
tetradic
#9628AA #AA5528 #3CAA28 #287DAA
square
#9628AA #AA5528 #3CAA28 #287DAA
split-complementary
#9628AA #7DAA28 #28AA55
monochromatic
#3F1147 #6A1C78 #9628AA #BB3ED2 #CC6FDD

Accessibility & contrast

On white

6.60
#9628AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9628AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9628AA#FFFFFF#000000##FFFFFF
##9628AA1.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)
#0055AE
Deuteranopia (green-blind)
#3761A7
Tritanopia (blue-blind)
#974268
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9628aa;
/* rgb */ color: rgb(150, 40, 170);
/* oklch */ color: oklch(50.5% 0.207 320.9);
Tailwind
colors: {
  custom: {
    50: '#b96fc4',
    500: '#9628aa',
    950: '#000000',
  },
}
SCSS
$custom: #9628aa;
$custom-light: #b96fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9628aa",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 290.769,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50491,
    "c": 0.20677,
    "h": 320.9
  },
  "luminance": 0.10904
}

Semantic roles & 50–950 ramp

primary
#9628AA
secondary
#78C46A
accent
#E5435C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9628AA

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

Preview Lab → · Contrast checker → · Palette generator →

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