#A427A9#A427A9

#A427A9 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.213 H 326.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A427A9
RGBrgb(164, 39, 169)
HSLhsl(298, 63%, 41%)
HSVhsv(298, 77%, 66%)
CMYKcmyk(3%, 76.9%, 0%, 33.7%)
CIE-LABlab(41.55, 64.41, -42.41)
CIE-LCHlch(41.55, 77.12, 326.64°)
OKLaboklab(52.43% 0.1773 -0.1179)
OKLCHoklch(52.43% 0.213 326.4)
XYZxyz(23.1964, 12.2097, 38.6634)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A427A9 #2CA927
analogous
#6327A9 #A427A9 #A9276D
triadic
#A427A9 #A9A427 #27A9A4
tetradic
#A427A9 #A96327 #2CA927 #276DA9
square
#A427A9 #A96327 #2CA927 #276DA9
split-complementary
#A427A9 #6DA927 #27A963
monochromatic
#431046 #741C77 #A427A9 #CC3BD2 #D96DDD

Accessibility & contrast

On white

6.10
#A427A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A427A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A427A9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A427A9#FFFFFF#000000##FFFFFF
##A427A91.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#A83E67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a427a9;
/* rgb */ color: rgb(164, 39, 169);
/* oklch */ color: oklch(52.4% 0.213 326.4);
Tailwind
colors: {
  custom: {
    50: '#c370c3',
    500: '#a427a9',
    950: '#000000',
  },
}
SCSS
$custom: #a427a9;
$custom-light: #c370c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a427a9",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 297.692,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52429,
    "c": 0.21293,
    "h": 326.4
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#A427A9
secondary
#6BC468
accent
#E64249
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A427A9

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

Preview Lab → · Contrast checker → · Palette generator →

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