#A627A3#A627A3

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

Color values

HEX#A627A3
RGBrgb(166, 39, 163)
HSLhsl(301, 62%, 40%)
HSVhsv(301, 77%, 65%)
CMYKcmyk(0%, 76.5%, 1.8%, 34.9%)
CIE-LABlab(41.54, 63.85, -38.81)
CIE-LCHlch(41.54, 74.72, 328.70°)
OKLaboklab(52.38% 0.1796 -0.1074)
OKLCHoklch(52.38% 0.209 329.1)
XYZxyz(23.0621, 12.2041, 35.7842)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627A3 #27A62A
analogous
#6927A6 #A627A3 #A62764
triadic
#A627A3 #A3A627 #27A3A6
tetradic
#A627A3 #A66927 #27A62A #2764A6
square
#A627A3 #A66927 #27A62A #2764A6
split-complementary
#A627A3 #64A627 #27A669
monochromatic
#431042 #741B72 #A627A3 #D13ACD #DC6BDA

Accessibility & contrast

On white

6.10
#A627A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A627A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627A3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627A3#FFFFFF#000000##FFFFFF
##A627A31.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a627a3;
/* rgb */ color: rgb(166, 39, 163);
/* oklch */ color: oklch(52.4% 0.209 329.1);
Tailwind
colors: {
  custom: {
    50: '#c470bf',
    500: '#a627a3',
    950: '#000000',
  },
}
SCSS
$custom: #a627a3;
$custom-light: #c470bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a627a3",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 301.417,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52376,
    "c": 0.20929,
    "h": 329.1
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A627A3

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

Preview Lab → · Contrast checker → · Palette generator →

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