#A628A9#A628A9

#A628A9 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.213 H 327.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A628A9
RGBrgb(166, 40, 169)
HSLhsl(299, 62%, 41%)
HSVhsv(299, 76%, 66%)
CMYKcmyk(1.8%, 76.3%, 0%, 33.7%)
CIE-LABlab(41.99, 64.53, -41.69)
CIE-LCHlch(41.99, 76.82, 327.14°)
OKLaboklab(52.81% 0.1786 -0.1158)
OKLCHoklch(52.81% 0.213 327)
XYZxyz(23.6457, 12.4908, 38.6940)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A628A9 #2BA928
analogous
#6528A9 #A628A9 #A9286B
triadic
#A628A9 #A9A628 #28A9A6
tetradic
#A628A9 #A96528 #2BA928 #286BA9
square
#A628A9 #A96528 #2BA928 #286BA9
split-complementary
#A628A9 #6BA928 #28A965
monochromatic
#451146 #751C78 #A628A9 #CE3DD1 #DA6FDD

Accessibility & contrast

On white

6.00
#A628A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A628A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A628A9
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A628A9#FFFFFF#000000##FFFFFF
##A628A91.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4A69A6
Tritanopia (blue-blind)
#AB3E68
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a628a9;
/* rgb */ color: rgb(166, 40, 169);
/* oklch */ color: oklch(52.8% 0.213 327.0);
Tailwind
colors: {
  custom: {
    50: '#c471c3',
    500: '#a628a9',
    950: '#000000',
  },
}
SCSS
$custom: #a628a9;
$custom-light: #c471c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a628a9",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 298.605,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52805,
    "c": 0.21288,
    "h": 327
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

primary
#A628A9
secondary
#6BC469
accent
#E54347
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A628A9

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

Preview Lab → · Contrast checker → · Palette generator →

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