#A628A3#A628A3

#A628A3 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.208 H 329.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A628A3
RGBrgb(166, 40, 163)
HSLhsl(301, 61%, 40%)
HSVhsv(301, 76%, 65%)
CMYKcmyk(0%, 75.9%, 1.8%, 34.9%)
CIE-LABlab(41.64, 63.55, -38.65)
CIE-LCHlch(41.64, 74.38, 328.69°)
OKLaboklab(52.45% 0.1788 -0.1069)
OKLCHoklch(52.45% 0.208 329.1)
XYZxyz(23.0953, 12.2707, 35.7953)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A628A3 #28A62B
analogous
#6A28A6 #A628A3 #A62864
triadic
#A628A3 #A3A628 #28A3A6
tetradic
#A628A3 #A66A28 #28A62B #2864A6
square
#A628A3 #A66A28 #28A62B #2864A6
split-complementary
#A628A3 #64A628 #28A66A
monochromatic
#431042 #751C73 #A628A3 #D03BCC #DC6DD9

Accessibility & contrast

On white

6.08
#A628A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A628A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A628A3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A628A3#FFFFFF#000000##FFFFFF
##A628A31.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1058A6
Deuteranopia (green-blind)
#4D68A0
Tritanopia (blue-blind)
#AC3B64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a628a3;
/* rgb */ color: rgb(166, 40, 163);
/* oklch */ color: oklch(52.4% 0.208 329.1);
Tailwind
colors: {
  custom: {
    50: '#c470bf',
    500: '#a628a3',
    950: '#000000',
  },
}
SCSS
$custom: #a628a3;
$custom-light: #c470bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a628a3",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 301.429,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.2083,
    "h": 329.1
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#A628A3
secondary
#67C26A
accent
#E44744
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A628A3

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

Preview Lab → · Contrast checker → · Palette generator →

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