#9628AB#9628AB

#9628AB is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.208 H 320.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9628AB
RGBrgb(150, 40, 171)
HSLhsl(290, 62%, 41%)
HSVhsv(290, 77%, 67%)
CMYKcmyk(12.3%, 76.6%, 0%, 32.9%)
CIE-LABlab(39.48, 61.60, -47.03)
CIE-LCHlch(39.48, 77.50, 322.64°)
OKLaboklab(50.56% 0.1604 -0.1318)
OKLCHoklch(50.56% 0.208 320.6)
XYZxyz(20.6863, 10.9430, 39.5428)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9628AB #3DAB28
analogous
#5528AB #9628AB #AB287F
triadic
#9628AB #AB9628 #28AB96
tetradic
#9628AB #AB5528 #3DAB28 #287FAB
square
#9628AB #AB5528 #3DAB28 #287FAB
split-complementary
#9628AB #7FAB28 #28AB55
monochromatic
#3F1148 #6A1C79 #9628AB #BA3ED2 #CC70DE

Accessibility & contrast

On white

6.59
#9628AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9628AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9628AB#FFFFFF#000000##FFFFFF
##9628AB1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#3661A8
Tritanopia (blue-blind)
#974369
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9628ab;
/* rgb */ color: rgb(150, 40, 171);
/* oklch */ color: oklch(50.6% 0.208 320.6);
Tailwind
colors: {
  custom: {
    50: '#b96fc5',
    500: '#9628ab',
    950: '#000000',
  },
}
SCSS
$custom: #9628ab;
$custom-light: #b96fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9628ab",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 290.382,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.2076,
    "h": 320.6
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#9628AB
secondary
#79C46A
accent
#E5435D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9628AB

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

Preview Lab → · Contrast checker → · Palette generator →

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