#A427A5#A427A5

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

Color values

HEX#A427A5
RGBrgb(164, 39, 165)
HSLhsl(300, 62%, 40%)
HSVhsv(300, 76%, 65%)
CMYKcmyk(0.6%, 76.4%, 0%, 35.3%)
CIE-LABlab(41.31, 63.75, -40.39)
CIE-LCHlch(41.31, 75.47, 327.64°)
OKLaboklab(52.19% 0.1774 -0.112)
OKLCHoklch(52.19% 0.21 327.7)
XYZxyz(22.8266, 12.0618, 36.7159)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A427A5 #28A527
analogous
#6527A5 #A427A5 #A52767
triadic
#A427A5 #A5A427 #27A5A4
tetradic
#A427A5 #A56527 #28A527 #2767A5
square
#A427A5 #A56527 #28A527 #2767A5
split-complementary
#A427A5 #67A527 #27A565
monochromatic
#421042 #731B74 #A427A5 #CF39D0 #DB6ADC

Accessibility & contrast

On white

6.15
#A427A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A427A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A427A5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A427A5#FFFFFF#000000##FFFFFF
##A427A51.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0357A8
Deuteranopia (green-blind)
#4A67A2
Tritanopia (blue-blind)
#A93C65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a427a5;
/* rgb */ color: rgb(164, 39, 165);
/* oklch */ color: oklch(52.2% 0.210 327.7);
Tailwind
colors: {
  custom: {
    50: '#c370c0',
    500: '#a427a5',
    950: '#000000',
  },
}
SCSS
$custom: #a427a5;
$custom-light: #c370c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a427a5",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 299.524,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.52188,
    "c": 0.20986,
    "h": 327.7
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#A427A5
secondary
#66C266
accent
#E54344
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A427A5

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

Preview Lab → · Contrast checker → · Palette generator →

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