#A627A8#A627A8

#A627A8 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.213 H 327.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A627A8
RGBrgb(166, 39, 168)
HSLhsl(299, 62%, 41%)
HSVhsv(299, 77%, 66%)
CMYKcmyk(1.2%, 76.8%, 0%, 34.1%)
CIE-LABlab(41.82, 64.66, -41.35)
CIE-LCHlch(41.82, 76.75, 327.40°)
OKLaboklab(52.67% 0.1795 -0.1148)
OKLCHoklch(52.67% 0.213 327.4)
XYZxyz(23.5189, 12.3869, 38.1904)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627A8 #29A827
analogous
#6527A8 #A627A8 #A82769
triadic
#A627A8 #A8A627 #27A8A6
tetradic
#A627A8 #A86527 #29A827 #2769A8
square
#A627A8 #A86527 #29A827 #2769A8
split-complementary
#A627A8 #69A827 #27A865
monochromatic
#441045 #751B76 #A627A8 #CF3BD1 #DB6CDD

Accessibility & contrast

On white

6.04
#A627A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A627A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627A8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627A8#FFFFFF#000000##FFFFFF
##A627A81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4A68A5
Tritanopia (blue-blind)
#AB3D67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a627a8;
/* rgb */ color: rgb(166, 39, 168);
/* oklch */ color: oklch(52.7% 0.213 327.4);
Tailwind
colors: {
  custom: {
    50: '#c470c2',
    500: '#a627a8',
    950: '#000000',
  },
}
SCSS
$custom: #a627a8;
$custom-light: #c470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a627a8",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 299.07,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.21307,
    "h": 327.4
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#A627A8
secondary
#69C367
accent
#E54245
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A627A8

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

Preview Lab → · Contrast checker → · Palette generator →

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