#A627A0#A627A0

#A627A0 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.207 H 330.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A627A0
RGBrgb(166, 39, 160)
HSLhsl(303, 62%, 40%)
HSVhsv(303, 77%, 65%)
CMYKcmyk(0%, 76.5%, 3.6%, 34.9%)
CIE-LABlab(41.37, 63.37, -37.28)
CIE-LCHlch(41.37, 73.52, 329.53°)
OKLaboklab(52.2% 0.1796 -0.103)
OKLCHoklch(52.2% 0.207 330.2)
XYZxyz(22.7965, 12.0979, 34.3854)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627A0 #27A62D
analogous
#6D27A6 #A627A0 #A62760
triadic
#A627A0 #A0A627 #27A0A6
tetradic
#A627A0 #A66D27 #27A62D #2760A6
square
#A627A0 #A66D27 #27A62D #2760A6
split-complementary
#A627A0 #60A627 #27A66D
monochromatic
#431040 #741B70 #A627A0 #D13AC9 #DC6BD7

Accessibility & contrast

On white

6.14
#A627A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A627A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627A0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627A0#FFFFFF#000000##FFFFFF
##A627A01.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a627a0;
/* rgb */ color: rgb(166, 39, 160);
/* oklch */ color: oklch(52.2% 0.207 330.2);
Tailwind
colors: {
  custom: {
    50: '#c470bc',
    500: '#a627a0',
    950: '#000000',
  },
}
SCSS
$custom: #a627a0;
$custom-light: #c470bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a627a0",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 302.835,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52202,
    "c": 0.20704,
    "h": 330.2
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#A627A0
secondary
#66C36B
accent
#E54A43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A627A0

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

Preview Lab → · Contrast checker → · Palette generator →

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