#A127A5#A127A5

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

Color values

HEX#A127A5
RGBrgb(161, 39, 165)
HSLhsl(298, 62%, 40%)
HSVhsv(298, 76%, 65%)
CMYKcmyk(2.4%, 76.4%, 0%, 35.3%)
CIE-LABlab(40.81, 63.12, -41.22)
CIE-LCHlch(40.81, 75.39, 326.85°)
OKLaboklab(51.73% 0.1742 -0.1146)
OKLCHoklch(51.73% 0.208 326.7)
XYZxyz(22.2146, 11.7463, 36.6872)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A127A5 #2BA527
analogous
#6227A5 #A127A5 #A5276A
triadic
#A127A5 #A5A127 #27A5A1
tetradic
#A127A5 #A56227 #2BA527 #276AA5
square
#A127A5 #A56227 #2BA527 #276AA5
split-complementary
#A127A5 #6AA527 #27A562
monochromatic
#401042 #711B74 #A127A5 #CB39D0 #D86ADC

Accessibility & contrast

On white

6.27
#A127A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A127A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A127A5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A127A5#FFFFFF#000000##FFFFFF
##A127A51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4765A2
Tritanopia (blue-blind)
#A53D65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a127a5;
/* rgb */ color: rgb(161, 39, 165);
/* oklch */ color: oklch(51.7% 0.208 326.7);
Tailwind
colors: {
  custom: {
    50: '#c16fc0',
    500: '#a127a5',
    950: '#000000',
  },
}
SCSS
$custom: #a127a5;
$custom-light: #c16fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#a127a5",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 298.095,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.51732,
    "c": 0.20849,
    "h": 326.7
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#A127A5
secondary
#69C266
accent
#E54348
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A127A5

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

Preview Lab → · Contrast checker → · Palette generator →

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