#A427AE#A427AE

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

Color values

HEX#A427AE
RGBrgb(164, 39, 174)
HSLhsl(296, 63%, 42%)
HSVhsv(296, 78%, 68%)
CMYKcmyk(5.7%, 77.6%, 0%, 31.8%)
CIE-LABlab(41.85, 65.26, -44.90)
CIE-LCHlch(41.85, 79.21, 325.47°)
OKLaboklab(52.74% 0.177 -0.1252)
OKLCHoklch(52.74% 0.217 324.7)
XYZxyz(23.6747, 12.4011, 41.1829)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A427AE #31AE27
analogous
#6127AE #A427AE #AE2774
triadic
#A427AE #AEA427 #27AEA4
tetradic
#A427AE #AE6127 #31AE27 #2774AE
square
#A427AE #AE6127 #31AE27 #2774AE
split-complementary
#A427AE #74AE27 #27AE61
monochromatic
#46114A #751C7C #A427AE #C93ED4 #D770DF

Accessibility & contrast

On white

6.03
#A427AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A427AE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A427AE#FFFFFF#000000##FFFFFF
##A427AE1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#4468AB
Tritanopia (blue-blind)
#A7416A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a427ae;
/* rgb */ color: rgb(164, 39, 174);
/* oklch */ color: oklch(52.7% 0.217 324.7);
Tailwind
colors: {
  custom: {
    50: '#c370c7',
    500: '#a427ae',
    950: '#000000',
  },
}
SCSS
$custom: #a427ae;
$custom-light: #c370c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a427ae",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 295.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.21682,
    "h": 324.7
  },
  "luminance": 0.124
}

Semantic roles & 50–950 ramp

primary
#A427AE
secondary
#72C66B
accent
#E6414E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A427AE

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

Preview Lab → · Contrast checker → · Palette generator →

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