#A127AA#A127AA

#A127AA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.212 H 325.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A127AA
RGBrgb(161, 39, 170)
HSLhsl(296, 63%, 41%)
HSVhsv(296, 77%, 67%)
CMYKcmyk(5.3%, 77.1%, 0%, 33.3%)
CIE-LABlab(41.11, 63.97, -43.73)
CIE-LCHlch(41.11, 77.49, 325.64°)
OKLaboklab(52.04% 0.1739 -0.1219)
OKLCHoklch(52.04% 0.212 325)
XYZxyz(22.6786, 11.9319, 39.1310)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A127AA #30AA27
analogous
#5F27AA #A127AA #AA2771
triadic
#A127AA #AAA127 #27AAA1
tetradic
#A127AA #AA5F27 #30AA27 #2771AA
square
#A127AA #AA5F27 #30AA27 #2771AA
split-complementary
#A127AA #71AA27 #27AA5F
monochromatic
#431046 #721C78 #A127AA #C83CD2 #D66EDE

Accessibility & contrast

On white

6.20
#A127AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A127AA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A127AA#FFFFFF#000000##FFFFFF
##A127AA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#4366A7
Tritanopia (blue-blind)
#A53F68
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a127aa;
/* rgb */ color: rgb(161, 39, 170);
/* oklch */ color: oklch(52.0% 0.212 325.0);
Tailwind
colors: {
  custom: {
    50: '#c170c4',
    500: '#a127aa',
    950: '#000000',
  },
}
SCSS
$custom: #a127aa;
$custom-light: #c170c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a127aa",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 295.878,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.21239,
    "h": 325
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#A127AA
secondary
#6FC469
accent
#E6424D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A127AA

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

Preview Lab → · Contrast checker → · Palette generator →

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