#A127A4#A127A4

#A127A4 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.208 H 327.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A127A4
RGBrgb(161, 39, 164)
HSLhsl(299, 62%, 40%)
HSVhsv(299, 76%, 64%)
CMYKcmyk(1.8%, 76.2%, 0%, 35.7%)
CIE-LABlab(40.75, 62.95, -40.72)
CIE-LCHlch(40.75, 74.97, 327.11°)
OKLaboklab(51.67% 0.1742 -0.1131)
OKLCHoklch(51.67% 0.208 327)
XYZxyz(22.1239, 11.7100, 36.2098)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A127A4 #2AA427
analogous
#6327A4 #A127A4 #A42769
triadic
#A127A4 #A4A127 #27A4A1
tetradic
#A127A4 #A46327 #2AA427 #2769A4
square
#A127A4 #A46327 #2AA427 #2769A4
split-complementary
#A127A4 #69A427 #27A463
monochromatic
#400F41 #701B73 #A127A4 #CC38D0 #D96ADC

Accessibility & contrast

On white

6.28
#A127A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A127A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A127A4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A127A4#FFFFFF#000000##FFFFFF
##A127A41.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4765A1
Tritanopia (blue-blind)
#A63C64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a127a4;
/* rgb */ color: rgb(161, 39, 164);
/* oklch */ color: oklch(51.7% 0.208 327.0);
Tailwind
colors: {
  custom: {
    50: '#c16fbf',
    500: '#a127a4',
    950: '#000000',
  },
}
SCSS
$custom: #a127a4;
$custom-light: #c16fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a127a4",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 298.56,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.20771,
    "h": 327
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#A127A4
secondary
#67C265
accent
#E54347
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A127A4

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

Preview Lab → · Contrast checker → · Palette generator →

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