#A627A9#A627A9

#A627A9 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.214 H 327.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A627A9
RGBrgb(166, 39, 169)
HSLhsl(299, 63%, 41%)
HSVhsv(299, 77%, 66%)
CMYKcmyk(1.8%, 76.9%, 0%, 33.7%)
CIE-LABlab(41.88, 64.83, -41.85)
CIE-LCHlch(41.88, 77.16, 327.15°)
OKLaboklab(52.73% 0.1795 -0.1163)
OKLCHoklch(52.73% 0.214 327.1)
XYZxyz(23.6125, 12.4243, 38.6829)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627A9 #2AA927
analogous
#6527A9 #A627A9 #A9276B
triadic
#A627A9 #A9A627 #27A9A6
tetradic
#A627A9 #A96527 #2AA927 #276BA9
square
#A627A9 #A96527 #2AA927 #276BA9
split-complementary
#A627A9 #6BA927 #27A965
monochromatic
#441046 #751C77 #A627A9 #CE3BD2 #DB6DDD

Accessibility & contrast

On white

6.03
#A627A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A627A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627A9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627A9#FFFFFF#000000##FFFFFF
##A627A91.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4968A6
Tritanopia (blue-blind)
#AB3E67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a627a9;
/* rgb */ color: rgb(166, 39, 169);
/* oklch */ color: oklch(52.7% 0.214 327.1);
Tailwind
colors: {
  custom: {
    50: '#c470c3',
    500: '#a627a9',
    950: '#000000',
  },
}
SCSS
$custom: #a627a9;
$custom-light: #c470c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a627a9",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 298.615,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52732,
    "c": 0.21383,
    "h": 327.1
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#A627A9
secondary
#6AC468
accent
#E64246
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A627A9

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

Preview Lab → · Contrast checker → · Palette generator →

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