#A427AA#A427AA

#A427AA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.214 H 326.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A427AA
RGBrgb(164, 39, 170)
HSLhsl(297, 63%, 41%)
HSVhsv(297, 77%, 67%)
CMYKcmyk(3.5%, 77.1%, 0%, 33.3%)
CIE-LABlab(41.61, 64.58, -42.91)
CIE-LCHlch(41.61, 77.53, 326.40°)
OKLaboklab(52.49% 0.1773 -0.1194)
OKLCHoklch(52.49% 0.214 326)
XYZxyz(23.2906, 12.2474, 39.1597)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A427AA #2DAA27
analogous
#6227AA #A427AA #AA276E
triadic
#A427AA #AAA427 #27AAA4
tetradic
#A427AA #AA6227 #2DAA27 #276EAA
square
#A427AA #AA6227 #2DAA27 #276EAA
split-complementary
#A427AA #6EAA27 #27AA62
monochromatic
#441046 #741C78 #A427AA #CB3CD2 #D96EDE

Accessibility & contrast

On white

6.09
#A427AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A427AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A427AA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A427AA#FFFFFF#000000##FFFFFF
##A427AA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#4767A7
Tritanopia (blue-blind)
#A83F68
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a427aa;
/* rgb */ color: rgb(164, 39, 170);
/* oklch */ color: oklch(52.5% 0.214 326.0);
Tailwind
colors: {
  custom: {
    50: '#c370c4',
    500: '#a427aa',
    950: '#000000',
  },
}
SCSS
$custom: #a427aa;
$custom-light: #c370c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a427aa",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 297.252,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.21371,
    "h": 326
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#A427AA
secondary
#6DC469
accent
#E6424A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A427AA

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

Preview Lab → · Contrast checker → · Palette generator →

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