#A627AA#A627AA

#A627AA is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.215 H 326.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A627AA
RGBrgb(166, 39, 170)
HSLhsl(298, 63%, 41%)
HSVhsv(298, 77%, 67%)
CMYKcmyk(2.4%, 77.1%, 0%, 33.3%)
CIE-LABlab(41.94, 64.99, -42.35)
CIE-LCHlch(41.94, 77.57, 326.91°)
OKLaboklab(52.79% 0.1794 -0.1177)
OKLCHoklch(52.79% 0.215 326.7)
XYZxyz(23.7067, 12.4620, 39.1792)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627AA #2BAA27
analogous
#6427AA #A627AA #AA276C
triadic
#A627AA #AAA627 #27AAA6
tetradic
#A627AA #AA6427 #2BAA27 #276CAA
square
#A627AA #AA6427 #2BAA27 #276CAA
split-complementary
#A627AA #6CAA27 #27AA64
monochromatic
#451046 #751C78 #A627AA #CE3CD2 #DA6EDE

Accessibility & contrast

On white

6.01
#A627AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A627AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627AA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627AA#FFFFFF#000000##FFFFFF
##A627AA1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4968A7
Tritanopia (blue-blind)
#AB3E68
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a627aa;
/* rgb */ color: rgb(166, 39, 170);
/* oklch */ color: oklch(52.8% 0.215 326.7);
Tailwind
colors: {
  custom: {
    50: '#c470c4',
    500: '#a627aa',
    950: '#000000',
  },
}
SCSS
$custom: #a627aa;
$custom-light: #c470c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a627aa",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 298.168,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52792,
    "c": 0.21459,
    "h": 326.7
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#A627AA
secondary
#6BC469
accent
#E64247
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A627AA

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

Preview Lab → · Contrast checker → · Palette generator →

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