#A127A9#A127A9

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

Color values

HEX#A127A9
RGBrgb(161, 39, 169)
HSLhsl(296, 63%, 41%)
HSVhsv(296, 77%, 66%)
CMYKcmyk(4.7%, 76.9%, 0%, 33.7%)
CIE-LABlab(41.05, 63.80, -43.23)
CIE-LCHlch(41.05, 77.06, 325.88°)
OKLaboklab(51.98% 0.174 -0.1204)
OKLCHoklch(51.98% 0.212 325.3)
XYZxyz(22.5844, 11.8942, 38.6347)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A127A9 #2FA927
analogous
#6027A9 #A127A9 #A92770
triadic
#A127A9 #A9A127 #27A9A1
tetradic
#A127A9 #A96027 #2FA927 #2770A9
square
#A127A9 #A96027 #2FA927 #2770A9
split-complementary
#A127A9 #70A927 #27A960
monochromatic
#421046 #721C77 #A127A9 #C93BD2 #D66DDD

Accessibility & contrast

On white

6.22
#A127A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A127A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A127A9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A127A9#FFFFFF#000000##FFFFFF
##A127A91.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#A53F67
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a127a9;
/* rgb */ color: rgb(161, 39, 169);
/* oklch */ color: oklch(52.0% 0.212 325.3);
Tailwind
colors: {
  custom: {
    50: '#c170c3',
    500: '#a127a9',
    950: '#000000',
  },
}
SCSS
$custom: #a127a9;
$custom-light: #c170c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a127a9",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 296.308,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51977,
    "c": 0.21161,
    "h": 325.3
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#A127A9
secondary
#6EC468
accent
#E6424C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A127A9

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

Preview Lab → · Contrast checker → · Palette generator →

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