#A628AC#A628AC

#A628AC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.215 H 326.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A628AC
RGBrgb(166, 40, 172)
HSLhsl(297, 62%, 42%)
HSVhsv(297, 77%, 67%)
CMYKcmyk(3.5%, 76.7%, 0%, 32.5%)
CIE-LABlab(42.16, 65.03, -43.19)
CIE-LCHlch(42.16, 78.07, 326.41°)
OKLaboklab(52.99% 0.1785 -0.1202)
OKLCHoklch(52.99% 0.215 326.1)
XYZxyz(23.9306, 12.6048, 40.1943)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A628AC #2EAC28
analogous
#6428AC #A628AC #AC2870
triadic
#A628AC #ACA628 #28ACA6
tetradic
#A628AC #AC6428 #2EAC28 #2870AC
square
#A628AC #AC6428 #2EAC28 #2870AC
split-complementary
#A628AC #70AC28 #28AC64
monochromatic
#461149 #761C7A #A628AC #CC3FD2 #D971DE

Accessibility & contrast

On white

5.96
#A628AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A628AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A628AC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A628AC#FFFFFF#000000##FFFFFF
##A628AC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#AA4069
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a628ac;
/* rgb */ color: rgb(166, 40, 172);
/* oklch */ color: oklch(53.0% 0.215 326.1);
Tailwind
colors: {
  custom: {
    50: '#c471c5',
    500: '#a628ac',
    950: '#000000',
  },
}
SCSS
$custom: #a628ac;
$custom-light: #c471c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a628ac",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 297.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.21519,
    "h": 326.1
  },
  "luminance": 0.12603
}

Semantic roles & 50–950 ramp

primary
#A628AC
secondary
#6FC56B
accent
#E5424A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A628AC

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

Preview Lab → · Contrast checker → · Palette generator →

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