#A428B1#A428B1

#A428B1 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.218 H 323.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A428B1
RGBrgb(164, 40, 177)
HSLhsl(294, 63%, 43%)
HSVhsv(294, 77%, 69%)
CMYKcmyk(7.3%, 77.4%, 0%, 30.6%)
CIE-LABlab(42.13, 65.47, -46.22)
CIE-LCHlch(42.13, 80.15, 324.78°)
OKLaboklab(53% 0.176 -0.1291)
OKLCHoklch(53% 0.218 323.7)
XYZxyz(24.0037, 12.5859, 42.7515)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A428B1 #35B128
analogous
#6028B1 #A428B1 #B12879
triadic
#A428B1 #B1A428 #28B1A4
tetradic
#A428B1 #B16028 #35B128 #2879B1
square
#A428B1 #B16028 #35B128 #2879B1
split-complementary
#A428B1 #79B128 #28B160
monochromatic
#47114D #761D7F #A428B1 #C642D4 #D574E0

Accessibility & contrast

On white

5.97
#A428B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A428B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A428B1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A428B1#FFFFFF#000000##FFFFFF
##A428B11.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#4268AE
Tritanopia (blue-blind)
#A7436C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a428b1;
/* rgb */ color: rgb(164, 40, 177);
/* oklch */ color: oklch(53.0% 0.218 323.7);
Tailwind
colors: {
  custom: {
    50: '#c371c9',
    500: '#a428b1',
    950: '#000000',
  },
}
SCSS
$custom: #a428b1;
$custom-light: #c371c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a428b1",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 294.307,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52999,
    "c": 0.21823,
    "h": 323.7
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#A428B1
secondary
#76C76E
accent
#E64251
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A428B1

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

Preview Lab → · Contrast checker → · Palette generator →

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