#A628A0#A628A0

#A628A0 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.206 H 330.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A628A0
RGBrgb(166, 40, 160)
HSLhsl(303, 61%, 40%)
HSVhsv(303, 76%, 65%)
CMYKcmyk(0%, 75.9%, 3.6%, 34.9%)
CIE-LABlab(41.48, 63.06, -37.11)
CIE-LCHlch(41.48, 73.18, 329.52°)
OKLaboklab(52.28% 0.1788 -0.1025)
OKLCHoklch(52.28% 0.206 330.2)
XYZxyz(22.8297, 12.1644, 34.3965)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A628A0 #28A62E
analogous
#6D28A6 #A628A0 #A62861
triadic
#A628A0 #A0A628 #28A0A6
tetradic
#A628A0 #A66D28 #28A62E #2861A6
square
#A628A0 #A66D28 #28A62E #2861A6
split-complementary
#A628A0 #61A628 #28A66D
monochromatic
#431041 #751C70 #A628A0 #D03BC9 #DC6DD6

Accessibility & contrast

On white

6.12
#A628A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A628A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A628A0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A628A0#FFFFFF#000000##FFFFFF
##A628A01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1757A3
Deuteranopia (green-blind)
#4F689D
Tritanopia (blue-blind)
#AC3A62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a628a0;
/* rgb */ color: rgb(166, 40, 160);
/* oklch */ color: oklch(52.3% 0.206 330.2);
Tailwind
colors: {
  custom: {
    50: '#c470bc',
    500: '#a628a0',
    950: '#000000',
  },
}
SCSS
$custom: #a628a0;
$custom-light: #c470bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a628a0",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 302.857,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52277,
    "c": 0.20605,
    "h": 330.2
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#A628A0
secondary
#67C26C
accent
#E44B44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A628A0

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

Preview Lab → · Contrast checker → · Palette generator →

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