#A627AC#A627AC

#A627AC is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.216 H 326.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A627AC
RGBrgb(166, 39, 172)
HSLhsl(297, 63%, 41%)
HSVhsv(297, 77%, 67%)
CMYKcmyk(3.5%, 77.3%, 0%, 32.5%)
CIE-LABlab(42.06, 65.32, -43.36)
CIE-LCHlch(42.06, 78.40, 326.43°)
OKLaboklab(52.91% 0.1793 -0.1206)
OKLCHoklch(52.91% 0.216 326.1)
XYZxyz(23.8973, 12.5382, 40.1832)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627AC #2DAC27
analogous
#6427AC #A627AC #AC2770
triadic
#A627AC #ACA627 #27ACA6
tetradic
#A627AC #AC6427 #2DAC27 #2770AC
square
#A627AC #AC6427 #2DAC27 #2770AC
split-complementary
#A627AC #70AC27 #27AC64
monochromatic
#461048 #761C7A #A627AC #CC3DD3 #D96FDE

Accessibility & contrast

On white

5.99
#A627AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A627AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627AC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627AC#FFFFFF#000000##FFFFFF
##A627AC1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4769A9
Tritanopia (blue-blind)
#AA3F69
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a627ac;
/* rgb */ color: rgb(166, 39, 172);
/* oklch */ color: oklch(52.9% 0.216 326.1);
Tailwind
colors: {
  custom: {
    50: '#c470c5',
    500: '#a627ac',
    950: '#000000',
  },
}
SCSS
$custom: #a627ac;
$custom-light: #c470c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a627ac",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 297.293,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52914,
    "c": 0.21613,
    "h": 326.1
  },
  "luminance": 0.12537
}

Semantic roles & 50–950 ramp

primary
#A627AC
secondary
#6EC56A
accent
#E64249
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A627AC

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

Preview Lab → · Contrast checker → · Palette generator →

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