#A628AF#A628AF

#A628AF is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.218 H 325.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A628AF
RGBrgb(166, 40, 175)
HSLhsl(296, 63%, 42%)
HSVhsv(296, 77%, 69%)
CMYKcmyk(5.1%, 77.1%, 0%, 31.4%)
CIE-LABlab(42.34, 65.53, -44.69)
CIE-LCHlch(42.34, 79.32, 325.71°)
OKLaboklab(53.17% 0.1783 -0.1245)
OKLCHoklch(53.17% 0.218 325.1)
XYZxyz(24.2220, 12.7213, 41.7288)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A628AF #31AF28
analogous
#6328AF #A628AF #AF2875
triadic
#A628AF #AFA628 #28AFA6
tetradic
#A628AF #AF6328 #31AF28 #2875AF
square
#A628AF #AF6328 #31AF28 #2875AF
split-complementary
#A628AF #75AF28 #28AF63
monochromatic
#47114B #771D7D #A628AF #CA41D4 #D873DF

Accessibility & contrast

On white

5.93
#A628AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A628AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A628AF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A628AF#FFFFFF#000000##FFFFFF
##A628AF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#AA416B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a628af;
/* rgb */ color: rgb(166, 40, 175);
/* oklch */ color: oklch(53.2% 0.218 325.1);
Tailwind
colors: {
  custom: {
    50: '#c471c7',
    500: '#a628af',
    950: '#000000',
  },
}
SCSS
$custom: #a628af;
$custom-light: #c471c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a628af",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 296,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.21752,
    "h": 325.1
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#A628AF
secondary
#73C66D
accent
#E6424D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A628AF

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

Preview Lab → · Contrast checker → · Palette generator →

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