#A628A6#A628A6

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

Color values

HEX#A628A6
RGBrgb(166, 40, 166)
HSLhsl(300, 61%, 40%)
HSVhsv(300, 76%, 65%)
CMYKcmyk(0%, 75.9%, 0%, 34.9%)
CIE-LABlab(41.81, 64.03, -40.17)
CIE-LCHlch(41.81, 75.59, 327.90°)
OKLaboklab(52.63% 0.1787 -0.1114)
OKLCHoklch(52.63% 0.211 328.1)
XYZxyz(23.3673, 12.3795, 37.2277)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A628A6 #28A628
analogous
#6728A6 #A628A6 #A62867
triadic
#A628A6 #A6A628 #28A6A6
tetradic
#A628A6 #A66728 #28A628 #2867A6
square
#A628A6 #A66728 #28A628 #2867A6
split-complementary
#A628A6 #67A628 #28A667
monochromatic
#431043 #751C75 #A628A6 #D03BD0 #DC6DDC

Accessibility & contrast

On white

6.04
#A628A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A628A6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A628A6#FFFFFF#000000##FFFFFF
##A628A61.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A9
Deuteranopia (green-blind)
#4C68A3
Tritanopia (blue-blind)
#AB3D66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a628a6;
/* rgb */ color: rgb(166, 40, 166);
/* oklch */ color: oklch(52.6% 0.211 328.1);
Tailwind
colors: {
  custom: {
    50: '#c471c1',
    500: '#a628a6',
    950: '#000000',
  },
}
SCSS
$custom: #a628a6;
$custom-light: #c471c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a628a6",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 300,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52626,
    "c": 0.21058,
    "h": 328.1
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#A628A6
secondary
#67C267
accent
#E44444
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A628A6

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

Preview Lab → · Contrast checker → · Palette generator →

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