#A427A2#A427A2

#A427A2 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.208 H 328.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A427A2
RGBrgb(164, 39, 162)
HSLhsl(301, 62%, 40%)
HSVhsv(301, 76%, 64%)
CMYKcmyk(0%, 76.2%, 1.2%, 35.7%)
CIE-LABlab(41.14, 63.26, -38.87)
CIE-LCHlch(41.14, 74.24, 328.43°)
OKLaboklab(52.01% 0.1775 -0.1076)
OKLCHoklch(52.01% 0.208 328.8)
XYZxyz(22.5567, 11.9539, 35.2947)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A427A2 #27A429
analogous
#6827A4 #A427A2 #A42764
triadic
#A427A2 #A2A427 #27A2A4
tetradic
#A427A2 #A46827 #27A429 #2764A4
square
#A427A2 #A46827 #27A429 #2764A4
split-complementary
#A427A2 #64A427 #27A468
monochromatic
#410F40 #731B71 #A427A2 #D038CD #DC6ADA

Accessibility & contrast

On white

6.19
#A427A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A427A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A427A2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A427A2#FFFFFF#000000##FFFFFF
##A427A21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#AA3B63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a427a2;
/* rgb */ color: rgb(164, 39, 162);
/* oklch */ color: oklch(52.0% 0.208 328.8);
Tailwind
colors: {
  custom: {
    50: '#c370be',
    500: '#a427a2',
    950: '#000000',
  },
}
SCSS
$custom: #a427a2;
$custom-light: #c370be;
$custom-dark: #000000;
JSON
{
  "hex": "#a427a2",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 300.96,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5201,
    "c": 0.20758,
    "h": 328.8
  },
  "luminance": 0.11952
}

Semantic roles & 50–950 ramp

primary
#A427A2
secondary
#65C267
accent
#E54643
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A427A2

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

Preview Lab → · Contrast checker → · Palette generator →

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