#A1279E#A1279E

#A1279E is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.203 H 329.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A1279E
RGBrgb(161, 39, 158)
HSLhsl(301, 61%, 39%)
HSVhsv(301, 76%, 63%)
CMYKcmyk(0%, 75.8%, 1.9%, 36.9%)
CIE-LABlab(40.41, 61.96, -37.66)
CIE-LCHlch(40.41, 72.51, 328.71°)
OKLaboklab(51.32% 0.1743 -0.1042)
OKLCHoklch(51.32% 0.203 329.1)
XYZxyz(21.5948, 11.4984, 33.4232)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1279E #27A12A
analogous
#6727A1 #A1279E #A12761
triadic
#A1279E #9EA127 #279EA1
tetradic
#A1279E #A16727 #27A12A #2761A1
square
#A1279E #A16727 #27A12A #2761A1
split-complementary
#A1279E #61A127 #27A167
monochromatic
#3E0F3D #701B6E #A1279E #CE37CB #DA68D8

Accessibility & contrast

On white

6.36
#A1279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A1279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1279E
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1279E#FFFFFF#000000##FFFFFF
##A1279E1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A1
Deuteranopia (green-blind)
#4B659B
Tritanopia (blue-blind)
#A73961
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a1279e;
/* rgb */ color: rgb(161, 39, 158);
/* oklch */ color: oklch(51.3% 0.203 329.1);
Tailwind
colors: {
  custom: {
    50: '#c16fbb',
    500: '#a1279e',
    950: '#000000',
  },
}
SCSS
$custom: #a1279e;
$custom-light: #c16fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a1279e",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 301.475,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51315,
    "c": 0.2031,
    "h": 329.1
  },
  "luminance": 0.11497
}

Semantic roles & 50–950 ramp

primary
#A1279E
secondary
#63C066
accent
#E44844
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A1279E

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

Preview Lab → · Contrast checker → · Palette generator →

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