#A427A7#A427A7

#A427A7 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.211 H 327.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A427A7
RGBrgb(164, 39, 167)
HSLhsl(299, 62%, 40%)
HSVhsv(299, 77%, 65%)
CMYKcmyk(1.8%, 76.6%, 0%, 34.5%)
CIE-LABlab(41.43, 64.08, -41.40)
CIE-LCHlch(41.43, 76.29, 327.13°)
OKLaboklab(52.31% 0.1774 -0.115)
OKLCHoklch(52.31% 0.211 327)
XYZxyz(23.0100, 12.1352, 37.6821)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A427A7 #2AA727
analogous
#6427A7 #A427A7 #A7276A
triadic
#A427A7 #A7A427 #27A7A4
tetradic
#A427A7 #A76427 #2AA727 #276AA7
square
#A427A7 #A76427 #2AA727 #276AA7
split-complementary
#A427A7 #6AA727 #27A764
monochromatic
#431044 #731B75 #A427A7 #CD3AD1 #DA6CDD

Accessibility & contrast

On white

6.13
#A427A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A427A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A427A7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A427A7#FFFFFF#000000##FFFFFF
##A427A71.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#4967A4
Tritanopia (blue-blind)
#A93D66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a427a7;
/* rgb */ color: rgb(164, 39, 167);
/* oklch */ color: oklch(52.3% 0.211 327.0);
Tailwind
colors: {
  custom: {
    50: '#c370c2',
    500: '#a427a7',
    950: '#000000',
  },
}
SCSS
$custom: #a427a7;
$custom-light: #c370c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a427a7",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 298.594,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.2114,
    "h": 327
  },
  "luminance": 0.12134
}

Semantic roles & 50–950 ramp

primary
#A427A7
secondary
#69C367
accent
#E54346
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A427A7

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

Preview Lab → · Contrast checker → · Palette generator →

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