#A427A0#A427A0

#A427A0 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.206 H 329.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A427A0
RGBrgb(164, 39, 160)
HSLhsl(302, 62%, 40%)
HSVhsv(302, 76%, 64%)
CMYKcmyk(0%, 76.2%, 2.4%, 35.7%)
CIE-LABlab(41.03, 62.94, -37.84)
CIE-LCHlch(41.03, 73.44, 328.98°)
OKLaboklab(51.89% 0.1775 -0.1047)
OKLCHoklch(51.89% 0.206 329.5)
XYZxyz(22.3804, 11.8833, 34.3659)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A427A0 #27A42B
analogous
#6A27A4 #A427A0 #A42762
triadic
#A427A0 #A0A427 #27A0A4
tetradic
#A427A0 #A46A27 #27A42B #2762A4
square
#A427A0 #A46A27 #27A42B #2762A4
split-complementary
#A427A0 #62A427 #27A46A
monochromatic
#410F40 #731B70 #A427A0 #D038CB #DC6AD8

Accessibility & contrast

On white

6.22
#A427A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A427A0
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A427A0#FFFFFF#000000##FFFFFF
##A427A01.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A3
Deuteranopia (green-blind)
#4D679D
Tritanopia (blue-blind)
#AA3A62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a427a0;
/* rgb */ color: rgb(164, 39, 160);
/* oklch */ color: oklch(51.9% 0.206 329.5);
Tailwind
colors: {
  custom: {
    50: '#c370bc',
    500: '#a427a0',
    950: '#000000',
  },
}
SCSS
$custom: #a427a0;
$custom-light: #c370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a427a0",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 301.92,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.20607,
    "h": 329.5
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#A427A0
secondary
#65C268
accent
#E54843
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A427A0

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

Preview Lab → · Contrast checker → · Palette generator →

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