#A1279D#A1279D

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

Color values

HEX#A1279D
RGBrgb(161, 39, 157)
HSLhsl(302, 61%, 39%)
HSVhsv(302, 76%, 63%)
CMYKcmyk(0%, 75.8%, 2.5%, 36.9%)
CIE-LABlab(40.35, 61.80, -37.15)
CIE-LCHlch(40.35, 72.11, 328.99°)
OKLaboklab(51.26% 0.1743 -0.1027)
OKLCHoklch(51.26% 0.202 329.5)
XYZxyz(21.5091, 11.4641, 32.9717)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1279D #27A12B
analogous
#6827A1 #A1279D #A12760
triadic
#A1279D #9DA127 #279DA1
tetradic
#A1279D #A16827 #27A12B #2760A1
square
#A1279D #A16827 #27A12B #2760A1
split-complementary
#A1279D #60A127 #27A168
monochromatic
#3E0F3D #701B6D #A1279D #CE37CA #DA68D7

Accessibility & contrast

On white

6.38
#A1279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A1279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1279D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1279D#FFFFFF#000000##FFFFFF
##A1279D1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A0
Deuteranopia (green-blind)
#4C659A
Tritanopia (blue-blind)
#A73960
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a1279d;
/* rgb */ color: rgb(161, 39, 157);
/* oklch */ color: oklch(51.3% 0.202 329.5);
Tailwind
colors: {
  custom: {
    50: '#c16fba',
    500: '#a1279d',
    950: '#000000',
  },
}
SCSS
$custom: #a1279d;
$custom-light: #c16fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a1279d",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 301.967,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.20234,
    "h": 329.5
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1279D

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

Preview Lab → · Contrast checker → · Palette generator →

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