#A627A7#A627A7

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

Color values

HEX#A627A7
RGBrgb(166, 39, 167)
HSLhsl(300, 62%, 40%)
HSVhsv(300, 77%, 65%)
CMYKcmyk(0.6%, 76.6%, 0%, 34.5%)
CIE-LABlab(41.77, 64.50, -40.84)
CIE-LCHlch(41.77, 76.34, 327.65°)
OKLaboklab(52.61% 0.1795 -0.1133)
OKLCHoklch(52.61% 0.212 327.7)
XYZxyz(23.4261, 12.3498, 37.7016)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627A7 #28A727
analogous
#6627A7 #A627A7 #A72768
triadic
#A627A7 #A7A627 #27A7A6
tetradic
#A627A7 #A76627 #28A727 #2768A7
square
#A627A7 #A76627 #28A727 #2768A7
split-complementary
#A627A7 #68A727 #27A766
monochromatic
#431044 #751B75 #A627A7 #D03AD1 #DC6CDD

Accessibility & contrast

On white

6.05
#A627A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A627A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627A7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627A7#FFFFFF#000000##FFFFFF
##A627A71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0158AA
Deuteranopia (green-blind)
#4B68A4
Tritanopia (blue-blind)
#AB3D66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a627a7;
/* rgb */ color: rgb(166, 39, 167);
/* oklch */ color: oklch(52.6% 0.212 327.7);
Tailwind
colors: {
  custom: {
    50: '#c470c2',
    500: '#a627a7',
    950: '#000000',
  },
}
SCSS
$custom: #a627a7;
$custom-light: #c470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a627a7",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 299.531,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.2123,
    "h": 327.7
  },
  "luminance": 0.12348
}

Semantic roles & 50–950 ramp

primary
#A627A7
secondary
#67C367
accent
#E54344
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A627A7

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

Preview Lab → · Contrast checker → · Palette generator →

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