#A427A1#A427A1

#A427A1 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.207 H 329.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A427A1
RGBrgb(164, 39, 161)
HSLhsl(301, 62%, 40%)
HSVhsv(301, 76%, 64%)
CMYKcmyk(0%, 76.2%, 1.8%, 35.7%)
CIE-LABlab(41.09, 63.10, -38.35)
CIE-LCHlch(41.09, 73.84, 328.71°)
OKLaboklab(51.95% 0.1775 -0.1061)
OKLCHoklch(51.95% 0.207 329.1)
XYZxyz(22.4682, 11.9185, 34.8284)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A427A1 #27A42A
analogous
#6927A4 #A427A1 #A42763
triadic
#A427A1 #A1A427 #27A1A4
tetradic
#A427A1 #A46927 #27A42A #2763A4
square
#A427A1 #A46927 #27A42A #2763A4
split-complementary
#A427A1 #63A427 #27A469
monochromatic
#410F40 #731B70 #A427A1 #D038CC #DC6AD9

Accessibility & contrast

On white

6.21
#A427A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A427A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A427A1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A427A1#FFFFFF#000000##FFFFFF
##A427A11.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#4C679E
Tritanopia (blue-blind)
#AA3A63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a427a1;
/* rgb */ color: rgb(164, 39, 161);
/* oklch */ color: oklch(52.0% 0.207 329.1);
Tailwind
colors: {
  custom: {
    50: '#c370bd',
    500: '#a427a1',
    950: '#000000',
  },
}
SCSS
$custom: #a427a1;
$custom-light: #c370bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a427a1",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 301.44,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51952,
    "c": 0.20682,
    "h": 329.1
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#A427A1
secondary
#65C267
accent
#E54743
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A427A1

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

Preview Lab → · Contrast checker → · Palette generator →

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