#9A28AB#9A28AB

#9A28AB is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.209 H 322.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9A28AB
RGBrgb(154, 40, 171)
HSLhsl(292, 62%, 41%)
HSVhsv(292, 77%, 67%)
CMYKcmyk(9.9%, 76.6%, 0%, 32.9%)
CIE-LABlab(40.13, 62.41, -45.96)
CIE-LCHlch(40.13, 77.50, 323.63°)
OKLaboklab(51.14% 0.1651 -0.1286)
OKLCHoklch(51.14% 0.209 322.1)
XYZxyz(21.4351, 11.3291, 39.5779)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A28AB #39AB28
analogous
#5928AB #9A28AB #AB287B
triadic
#9A28AB #AB9A28 #28AB9A
tetradic
#9A28AB #AB5928 #39AB28 #287BAB
square
#9A28AB #AB5928 #39AB28 #287BAB
split-complementary
#9A28AB #7BAB28 #28AB59
monochromatic
#411148 #6D1C79 #9A28AB #BF3ED2 #CF70DE

Accessibility & contrast

On white

6.43
#9A28AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9A28AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A28AB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A28AB#FFFFFF#000000##FFFFFF
##9A28AB1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#3B63A8
Tritanopia (blue-blind)
#9C4269
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a28ab;
/* rgb */ color: rgb(154, 40, 171);
/* oklch */ color: oklch(51.1% 0.209 322.1);
Tailwind
colors: {
  custom: {
    50: '#bc6fc5',
    500: '#9a28ab',
    950: '#000000',
  },
}
SCSS
$custom: #9a28ab;
$custom-light: #bc6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a28ab",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 292.214,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.20924,
    "h": 322.1
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#9A28AB
secondary
#76C46A
accent
#E54358
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A28AB

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

Preview Lab → · Contrast checker → · Palette generator →

#9A28AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva