#A428A8#A428A8

#A428A8 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.211 H 326.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A428A8
RGBrgb(164, 40, 168)
HSLhsl(298, 62%, 41%)
HSVhsv(298, 76%, 66%)
CMYKcmyk(2.4%, 76.2%, 0%, 34.1%)
CIE-LABlab(41.59, 63.94, -41.74)
CIE-LCHlch(41.59, 76.36, 326.87°)
OKLaboklab(52.44% 0.1765 -0.116)
OKLCHoklch(52.44% 0.211 326.7)
XYZxyz(23.1361, 12.2389, 38.1820)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A428A8 #2CA828
analogous
#6428A8 #A428A8 #A8286C
triadic
#A428A8 #A8A428 #28A8A4
tetradic
#A428A8 #A86428 #2CA828 #286CA8
square
#A428A8 #A86428 #2CA828 #286CA8
split-complementary
#A428A8 #6CA828 #28A864
monochromatic
#431045 #741C77 #A428A8 #CC3DD1 #D96EDC

Accessibility & contrast

On white

6.09
#A428A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A428A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A428A8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A428A8#FFFFFF#000000##FFFFFF
##A428A81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4867A5
Tritanopia (blue-blind)
#A93E67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a428a8;
/* rgb */ color: rgb(164, 40, 168);
/* oklch */ color: oklch(52.4% 0.211 326.7);
Tailwind
colors: {
  custom: {
    50: '#c370c2',
    500: '#a428a8',
    950: '#000000',
  },
}
SCSS
$custom: #a428a8;
$custom-light: #c370c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a428a8",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 298.125,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.21119,
    "h": 326.7
  },
  "luminance": 0.12237
}

Semantic roles & 50–950 ramp

primary
#A428A8
secondary
#6BC369
accent
#E54348
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A428A8

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

Preview Lab → · Contrast checker → · Palette generator →

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