#A627A6#A627A6

#A627A6 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.212 H 328.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A627A6
RGBrgb(166, 39, 166)
HSLhsl(300, 62%, 40%)
HSVhsv(300, 77%, 65%)
CMYKcmyk(0%, 76.5%, 0%, 34.9%)
CIE-LABlab(41.71, 64.33, -40.34)
CIE-LCHlch(41.71, 75.93, 327.91°)
OKLaboklab(52.55% 0.1796 -0.1118)
OKLCHoklch(52.55% 0.212 328.1)
XYZxyz(23.3341, 12.3129, 37.2166)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627A6 #27A627
analogous
#6627A6 #A627A6 #A62766
triadic
#A627A6 #A6A627 #27A6A6
tetradic
#A627A6 #A66627 #27A627 #2766A6
square
#A627A6 #A66627 #27A627 #2766A6
split-complementary
#A627A6 #66A627 #27A666
monochromatic
#431043 #741B74 #A627A6 #D13AD1 #DC6BDC

Accessibility & contrast

On white

6.07
#A627A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A627A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627A6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627A6#FFFFFF#000000##FFFFFF
##A627A61.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0458A9
Deuteranopia (green-blind)
#4B68A3
Tritanopia (blue-blind)
#AB3C66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a627a6;
/* rgb */ color: rgb(166, 39, 166);
/* oklch */ color: oklch(52.6% 0.212 328.1);
Tailwind
colors: {
  custom: {
    50: '#c470c1',
    500: '#a627a6',
    950: '#000000',
  },
}
SCSS
$custom: #a627a6;
$custom-light: #c470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a627a6",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 300,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.21155,
    "h": 328.1
  },
  "luminance": 0.12311
}

Semantic roles & 50–950 ramp

primary
#A627A6
secondary
#66C366
accent
#E54343
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A627A6

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

Preview Lab → · Contrast checker → · Palette generator →

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