#A628A8#A628A8

#A628A8 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.212 H 327.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A628A8
RGBrgb(166, 40, 168)
HSLhsl(299, 62%, 41%)
HSVhsv(299, 76%, 66%)
CMYKcmyk(1.2%, 76.2%, 0%, 34.1%)
CIE-LABlab(41.93, 64.36, -41.18)
CIE-LCHlch(41.93, 76.41, 327.39°)
OKLaboklab(52.75% 0.1787 -0.1143)
OKLCHoklch(52.75% 0.212 327.4)
XYZxyz(23.5522, 12.4534, 38.2015)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A628A8 #2AA828
analogous
#6628A8 #A628A8 #A8286A
triadic
#A628A8 #A8A628 #28A8A6
tetradic
#A628A8 #A86628 #2AA828 #286AA8
square
#A628A8 #A86628 #2AA828 #286AA8
split-complementary
#A628A8 #6AA828 #28A866
monochromatic
#441045 #751C77 #A628A8 #CE3DD1 #DB6EDC

Accessibility & contrast

On white

6.02
#A628A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A628A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A628A8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A628A8#FFFFFF#000000##FFFFFF
##A628A81.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0159AB
Deuteranopia (green-blind)
#4A68A5
Tritanopia (blue-blind)
#AB3E67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a628a8;
/* rgb */ color: rgb(166, 40, 168);
/* oklch */ color: oklch(52.7% 0.212 327.4);
Tailwind
colors: {
  custom: {
    50: '#c471c2',
    500: '#a628a8',
    950: '#000000',
  },
}
SCSS
$custom: #a628a8;
$custom-light: #c471c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a628a8",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 299.063,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52745,
    "c": 0.2121,
    "h": 327.4
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#A628A8
secondary
#6AC369
accent
#E54346
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A628A8

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

Preview Lab → · Contrast checker → · Palette generator →

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