#9A28A8#9A28A8

#9A28A8 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.207 H 323.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9A28A8
RGBrgb(154, 40, 168)
HSLhsl(293, 62%, 41%)
HSVhsv(293, 76%, 66%)
CMYKcmyk(8.3%, 76.2%, 0%, 34.1%)
CIE-LABlab(39.94, 61.87, -44.47)
CIE-LCHlch(39.94, 76.19, 324.29°)
OKLaboklab(50.95% 0.1653 -0.1242)
OKLCHoklch(50.95% 0.207 323.1)
XYZxyz(21.1524, 11.2160, 38.0890)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A28A8 #36A828
analogous
#5A28A8 #9A28A8 #A82876
triadic
#9A28A8 #A89A28 #28A89A
tetradic
#9A28A8 #A85A28 #36A828 #2876A8
square
#9A28A8 #A85A28 #36A828 #2876A8
split-complementary
#9A28A8 #76A828 #28A85A
monochromatic
#3F1045 #6D1C77 #9A28A8 #C03DD1 #D06EDC

Accessibility & contrast

On white

6.48
#9A28A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9A28A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A28A8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A28A8#FFFFFF#000000##FFFFFF
##9A28A81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a28a8;
/* rgb */ color: rgb(154, 40, 168);
/* oklch */ color: oklch(50.9% 0.207 323.1);
Tailwind
colors: {
  custom: {
    50: '#bc6fc2',
    500: '#9a28a8',
    950: '#000000',
  },
}
SCSS
$custom: #9a28a8;
$custom-light: #bc6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a28a8",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 293.438,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.20678,
    "h": 323.1
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#9A28A8
secondary
#73C369
accent
#E54355
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9A28A8

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

Preview Lab → · Contrast checker → · Palette generator →

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