#9A28A9#9A28A9

#9A28A9 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.208 H 322.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9A28A9
RGBrgb(154, 40, 169)
HSLhsl(293, 62%, 41%)
HSVhsv(293, 76%, 66%)
CMYKcmyk(8.9%, 76.3%, 0%, 33.7%)
CIE-LABlab(40.00, 62.05, -44.97)
CIE-LCHlch(40.00, 76.63, 324.07°)
OKLaboklab(51.01% 0.1652 -0.1257)
OKLCHoklch(51.01% 0.208 322.7)
XYZxyz(21.2459, 11.2534, 38.5815)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A28A9 #37A928
analogous
#5928A9 #9A28A9 #A92877
triadic
#9A28A9 #A99A28 #28A99A
tetradic
#9A28A9 #A95928 #37A928 #2877A9
square
#9A28A9 #A95928 #37A928 #2877A9
split-complementary
#9A28A9 #77A928 #28A959
monochromatic
#401146 #6D1C78 #9A28A9 #C03DD1 #D06FDD

Accessibility & contrast

On white

6.46
#9A28A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9A28A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A28A9
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A28A9#FFFFFF#000000##FFFFFF
##9A28A91.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#3D63A6
Tritanopia (blue-blind)
#9C4167
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a28a9;
/* rgb */ color: rgb(154, 40, 169);
/* oklch */ color: oklch(51.0% 0.208 322.7);
Tailwind
colors: {
  custom: {
    50: '#bc6fc3',
    500: '#9a28a9',
    950: '#000000',
  },
}
SCSS
$custom: #9a28a9;
$custom-light: #bc6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a28a9",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 293.023,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.20759,
    "h": 322.7
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#9A28A9
secondary
#74C469
accent
#E54356
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9A28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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