#A627A4#A627A4

#A627A4 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.210 H 328.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A627A4
RGBrgb(166, 39, 164)
HSLhsl(301, 62%, 40%)
HSVhsv(301, 77%, 65%)
CMYKcmyk(0%, 76.5%, 1.2%, 34.9%)
CIE-LABlab(41.60, 64.01, -39.32)
CIE-LCHlch(41.60, 75.12, 328.44°)
OKLaboklab(52.43% 0.1796 -0.1089)
OKLCHoklch(52.43% 0.21 328.8)
XYZxyz(23.1520, 12.2401, 36.2579)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627A4 #27A629
analogous
#6927A6 #A627A4 #A62764
triadic
#A627A4 #A4A627 #27A4A6
tetradic
#A627A4 #A66927 #27A629 #2764A6
square
#A627A4 #A66927 #27A629 #2764A6
split-complementary
#A627A4 #64A627 #27A669
monochromatic
#431042 #741B73 #A627A4 #D13ACE #DC6BDA

Accessibility & contrast

On white

6.09
#A627A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A627A4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627A4#FFFFFF#000000##FFFFFF
##A627A41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B58A7
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#AC3B64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a627a4;
/* rgb */ color: rgb(166, 39, 164);
/* oklch */ color: oklch(52.4% 0.210 328.8);
Tailwind
colors: {
  custom: {
    50: '#c470bf',
    500: '#a627a4',
    950: '#000000',
  },
}
SCSS
$custom: #a627a4;
$custom-light: #c470bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a627a4",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 300.945,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.21004,
    "h": 328.8
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

primary
#A627A4
secondary
#66C368
accent
#E54543
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A627A4

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

Preview Lab → · Contrast checker → · Palette generator →

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