#A628A1#A628A1

#A628A1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.207 H 329.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A628A1
RGBrgb(166, 40, 161)
HSLhsl(302, 61%, 40%)
HSVhsv(302, 76%, 65%)
CMYKcmyk(0%, 75.9%, 3%, 34.9%)
CIE-LABlab(41.53, 63.22, -37.63)
CIE-LCHlch(41.53, 73.57, 329.24°)
OKLaboklab(52.34% 0.1788 -0.104)
OKLCHoklch(52.34% 0.207 329.8)
XYZxyz(22.9176, 12.1996, 34.8590)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A628A1 #28A62D
analogous
#6C28A6 #A628A1 #A62862
triadic
#A628A1 #A1A628 #28A1A6
tetradic
#A628A1 #A66C28 #28A62D #2862A6
square
#A628A1 #A66C28 #28A62D #2862A6
split-complementary
#A628A1 #62A628 #28A66C
monochromatic
#431041 #751C71 #A628A1 #D03BCA #DC6DD7

Accessibility & contrast

On white

6.11
#A628A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A628A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A628A1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A628A1#FFFFFF#000000##FFFFFF
##A628A11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A4
Deuteranopia (green-blind)
#4E689E
Tritanopia (blue-blind)
#AC3A63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a628a1;
/* rgb */ color: rgb(166, 40, 161);
/* oklch */ color: oklch(52.3% 0.207 329.8);
Tailwind
colors: {
  custom: {
    50: '#c470bd',
    500: '#a628a1',
    950: '#000000',
  },
}
SCSS
$custom: #a628a1;
$custom-light: #c470bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a628a1",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 302.381,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.2068,
    "h": 329.8
  },
  "luminance": 0.12198
}

Semantic roles & 50–950 ramp

primary
#A628A1
secondary
#67C26B
accent
#E44A44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A628A1

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

Preview Lab → · Contrast checker → · Palette generator →

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