#A127A2#A127A2

#A127A2 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.206 H 327.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A127A2
RGBrgb(161, 39, 162)
HSLhsl(300, 61%, 39%)
HSVhsv(300, 76%, 64%)
CMYKcmyk(0.6%, 75.9%, 0%, 36.5%)
CIE-LABlab(40.64, 62.62, -39.70)
CIE-LCHlch(40.64, 74.15, 327.62°)
OKLaboklab(51.55% 0.1743 -0.1101)
OKLCHoklch(51.55% 0.206 327.7)
XYZxyz(21.9448, 11.6383, 35.2660)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A127A2 #28A227
analogous
#6427A2 #A127A2 #A22766
triadic
#A127A2 #A2A127 #27A2A1
tetradic
#A127A2 #A26427 #28A227 #2766A2
square
#A127A2 #A26427 #28A227 #2766A2
split-complementary
#A127A2 #66A227 #27A264
monochromatic
#3F0F3F #701B71 #A127A2 #CE37CF #DA69DB

Accessibility & contrast

On white

6.31
#A127A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A127A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A127A2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A127A2#FFFFFF#000000##FFFFFF
##A127A21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A5
Deuteranopia (green-blind)
#49659F
Tritanopia (blue-blind)
#A63B63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a127a2;
/* rgb */ color: rgb(161, 39, 162);
/* oklch */ color: oklch(51.6% 0.206 327.7);
Tailwind
colors: {
  custom: {
    50: '#c16fbe',
    500: '#a127a2',
    950: '#000000',
  },
}
SCSS
$custom: #a127a2;
$custom-light: #c16fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a127a2",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 299.512,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51551,
    "c": 0.20617,
    "h": 327.7
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#A127A2
secondary
#65C164
accent
#E44345
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A127A2

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

Preview Lab → · Contrast checker → · Palette generator →

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