#A428AB#A428AB

#A428AB is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.214 H 325.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A428AB
RGBrgb(164, 40, 171)
HSLhsl(297, 62%, 41%)
HSVhsv(297, 77%, 67%)
CMYKcmyk(4.1%, 76.6%, 0%, 32.9%)
CIE-LABlab(41.77, 64.45, -43.24)
CIE-LCHlch(41.77, 77.61, 326.14°)
OKLaboklab(52.63% 0.1764 -0.1204)
OKLCHoklch(52.63% 0.214 325.7)
XYZxyz(23.4188, 12.3520, 39.6709)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A428AB #2FAB28
analogous
#6328AB #A428AB #AB2871
triadic
#A428AB #ABA428 #28ABA4
tetradic
#A428AB #AB6328 #2FAB28 #2871AB
square
#A428AB #AB6328 #2FAB28 #2871AB
split-complementary
#A428AB #71AB28 #28AB63
monochromatic
#451148 #741C79 #A428AB #CA3ED2 #D870DE

Accessibility & contrast

On white

6.05
#A428AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A428AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A428AB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A428AB#FFFFFF#000000##FFFFFF
##A428AB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4668A8
Tritanopia (blue-blind)
#A84069
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a428ab;
/* rgb */ color: rgb(164, 40, 171);
/* oklch */ color: oklch(52.6% 0.214 325.7);
Tailwind
colors: {
  custom: {
    50: '#c370c4',
    500: '#a428ab',
    950: '#000000',
  },
}
SCSS
$custom: #a428ab;
$custom-light: #c370c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a428ab",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 296.794,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.21352,
    "h": 325.7
  },
  "luminance": 0.1235
}

Semantic roles & 50–950 ramp

primary
#A428AB
secondary
#6FC46A
accent
#E5434B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A428AB

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

Preview Lab → · Contrast checker → · Palette generator →

#A428AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva