#A628A7#A628A7

#A628A7 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.211 H 327.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A628A7
RGBrgb(166, 40, 167)
HSLhsl(300, 61%, 41%)
HSVhsv(300, 76%, 65%)
CMYKcmyk(0.6%, 76%, 0%, 34.5%)
CIE-LABlab(41.87, 64.20, -40.68)
CIE-LCHlch(41.87, 76.00, 327.64°)
OKLaboklab(52.69% 0.1787 -0.1128)
OKLCHoklch(52.69% 0.211 327.7)
XYZxyz(23.4594, 12.4163, 37.7127)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A628A7 #29A728
analogous
#6728A7 #A628A7 #A72868
triadic
#A628A7 #A7A628 #28A7A6
tetradic
#A628A7 #A76728 #29A728 #2868A7
square
#A628A7 #A76728 #29A728 #2868A7
split-complementary
#A628A7 #68A728 #28A767
monochromatic
#441044 #751C76 #A628A7 #CF3CD0 #DB6DDC

Accessibility & contrast

On white

6.03
#A628A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A628A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A628A7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A628A7#FFFFFF#000000##FFFFFF
##A628A71.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0458AA
Deuteranopia (green-blind)
#4B68A4
Tritanopia (blue-blind)
#AB3D66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a628a7;
/* rgb */ color: rgb(166, 40, 167);
/* oklch */ color: oklch(52.7% 0.211 327.7);
Tailwind
colors: {
  custom: {
    50: '#c471c2',
    500: '#a628a7',
    950: '#000000',
  },
}
SCSS
$custom: #a628a7;
$custom-light: #c471c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a628a7",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 299.528,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.21134,
    "h": 327.7
  },
  "luminance": 0.12415
}

Semantic roles & 50–950 ramp

primary
#A628A7
secondary
#69C368
accent
#E44345
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A628A7

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

Preview Lab → · Contrast checker → · Palette generator →

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