#A427A6#A427A6

#A427A6 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.211 H 327.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A427A6
RGBrgb(164, 39, 166)
HSLhsl(299, 62%, 40%)
HSVhsv(299, 77%, 65%)
CMYKcmyk(1.2%, 76.5%, 0%, 34.9%)
CIE-LABlab(41.37, 63.91, -40.90)
CIE-LCHlch(41.37, 75.88, 327.39°)
OKLaboklab(52.25% 0.1774 -0.1135)
OKLCHoklch(52.25% 0.211 327.4)
XYZxyz(22.9180, 12.0984, 37.1971)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A427A6 #29A627
analogous
#6427A6 #A427A6 #A62769
triadic
#A427A6 #A6A427 #27A6A4
tetradic
#A427A6 #A66427 #29A627 #2769A6
square
#A427A6 #A66427 #29A627 #2769A6
split-complementary
#A427A6 #69A627 #27A664
monochromatic
#421043 #731B74 #A427A6 #CE3AD1 #DA6BDC

Accessibility & contrast

On white

6.14
#A427A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A427A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A427A6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A427A6#FFFFFF#000000##FFFFFF
##A427A61.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#A93D66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a427a6;
/* rgb */ color: rgb(164, 39, 166);
/* oklch */ color: oklch(52.2% 0.211 327.4);
Tailwind
colors: {
  custom: {
    50: '#c370c1',
    500: '#a427a6',
    950: '#000000',
  },
}
SCSS
$custom: #a427a6;
$custom-light: #c370c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a427a6",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 299.055,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.21063,
    "h": 327.4
  },
  "luminance": 0.12097
}

Semantic roles & 50–950 ramp

primary
#A427A6
secondary
#68C366
accent
#E54345
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A427A6

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

Preview Lab → · Contrast checker → · Palette generator →

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