#A627AE#A627AE

#A627AE is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.218 H 325.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A627AE
RGBrgb(166, 39, 174)
HSLhsl(296, 63%, 42%)
HSVhsv(296, 78%, 68%)
CMYKcmyk(4.6%, 77.6%, 0%, 31.8%)
CIE-LABlab(42.18, 65.66, -44.35)
CIE-LCHlch(42.18, 79.24, 325.96°)
OKLaboklab(53.04% 0.1792 -0.1235)
OKLCHoklch(53.04% 0.218 325.4)
XYZxyz(24.0908, 12.6156, 41.2024)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627AE #2FAE27
analogous
#6227AE #A627AE #AE2773
triadic
#A627AE #AEA627 #27AEA6
tetradic
#A627AE #AE6227 #2FAE27 #2773AE
square
#A627AE #AE6227 #2FAE27 #2773AE
split-complementary
#A627AE #73AE27 #27AE62
monochromatic
#47114A #761C7C #A627AE #CB3ED4 #D870DF

Accessibility & contrast

On white

5.96
#A627AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A627AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627AE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627AE#FFFFFF#000000##FFFFFF
##A627AE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#4669AB
Tritanopia (blue-blind)
#AA406A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a627ae;
/* rgb */ color: rgb(166, 39, 174);
/* oklch */ color: oklch(53.0% 0.218 325.4);
Tailwind
colors: {
  custom: {
    50: '#c471c7',
    500: '#a627ae',
    950: '#000000',
  },
}
SCSS
$custom: #a627ae;
$custom-light: #c471c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a627ae",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 296.444,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.21768,
    "h": 325.4
  },
  "luminance": 0.12614
}

Semantic roles & 50–950 ramp

primary
#A627AE
secondary
#70C66B
accent
#E6414B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A627AE

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

Preview Lab → · Contrast checker → · Palette generator →

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