#A628A4#A628A4

#A628A4 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.209 H 328.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A628A4
RGBrgb(166, 40, 164)
HSLhsl(301, 61%, 40%)
HSVhsv(301, 76%, 65%)
CMYKcmyk(0%, 75.9%, 1.2%, 34.9%)
CIE-LABlab(41.70, 63.71, -39.16)
CIE-LCHlch(41.70, 74.78, 328.42°)
OKLaboklab(52.51% 0.1787 -0.1084)
OKLCHoklch(52.51% 0.209 328.8)
XYZxyz(23.1853, 12.3067, 36.2690)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A628A4 #28A62A
analogous
#6928A6 #A628A4 #A62865
triadic
#A628A4 #A4A628 #28A4A6
tetradic
#A628A4 #A66928 #28A62A #2865A6
square
#A628A4 #A66928 #28A62A #2865A6
split-complementary
#A628A4 #65A628 #28A669
monochromatic
#431043 #751C73 #A628A4 #D03BCD #DC6DDA

Accessibility & contrast

On white

6.07
#A628A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A628A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A628A4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A628A4#FFFFFF#000000##FFFFFF
##A628A41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A7
Deuteranopia (green-blind)
#4D68A1
Tritanopia (blue-blind)
#AC3C65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a628a4;
/* rgb */ color: rgb(166, 40, 164);
/* oklch */ color: oklch(52.5% 0.209 328.8);
Tailwind
colors: {
  custom: {
    50: '#c470bf',
    500: '#a628a4',
    950: '#000000',
  },
}
SCSS
$custom: #a628a4;
$custom-light: #c470bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a628a4",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 300.952,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52509,
    "c": 0.20906,
    "h": 328.8
  },
  "luminance": 0.12305
}

Semantic roles & 50–950 ramp

primary
#A628A4
secondary
#67C269
accent
#E44644
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A628A4

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

Preview Lab → · Contrast checker → · Palette generator →

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