#A1279A#A1279A

#A1279A is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.1% C 0.200 H 330.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A1279A
RGBrgb(161, 39, 154)
HSLhsl(303, 61%, 39%)
HSVhsv(303, 76%, 63%)
CMYKcmyk(0%, 75.8%, 4.3%, 36.9%)
CIE-LABlab(40.19, 61.32, -35.60)
CIE-LCHlch(40.19, 70.90, 329.86°)
OKLaboklab(51.08% 0.1743 -0.0982)
OKLCHoklch(51.08% 0.2 330.6)
XYZxyz(21.2561, 11.3629, 31.6393)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1279A #27A12E
analogous
#6B27A1 #A1279A #A1275D
triadic
#A1279A #9AA127 #279AA1
tetradic
#A1279A #A16B27 #27A12E #275DA1
square
#A1279A #A16B27 #27A12E #275DA1
split-complementary
#A1279A #5DA127 #27A16B
monochromatic
#3E0F3C #701B6B #A1279A #CE37C6 #DA68D4

Accessibility & contrast

On white

6.42
#A1279A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A1279A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1279A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1279A#FFFFFF#000000##FFFFFF
##A1279A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19549D
Deuteranopia (green-blind)
#4D6597
Tritanopia (blue-blind)
#A7375F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a1279a;
/* rgb */ color: rgb(161, 39, 154);
/* oklch */ color: oklch(51.1% 0.200 330.6);
Tailwind
colors: {
  custom: {
    50: '#c16fb8',
    500: '#a1279a',
    950: '#000000',
  },
}
SCSS
$custom: #a1279a;
$custom-light: #c16fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a1279a",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 303.443,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51084,
    "c": 0.20008,
    "h": 330.6
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#A1279A
secondary
#63C069
accent
#E44D44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A1279A

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

Preview Lab → · Contrast checker → · Palette generator →

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