#A1279B#A1279B

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

Color values

HEX#A1279B
RGBrgb(161, 39, 155)
HSLhsl(303, 61%, 39%)
HSVhsv(303, 76%, 63%)
CMYKcmyk(0%, 75.8%, 3.7%, 36.9%)
CIE-LABlab(40.24, 61.48, -36.12)
CIE-LCHlch(40.24, 71.30, 329.57°)
OKLaboklab(51.14% 0.1743 -0.0997)
OKLCHoklch(51.14% 0.201 330.2)
XYZxyz(21.3398, 11.3963, 32.0798)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1279B #27A12D
analogous
#6A27A1 #A1279B #A1275E
triadic
#A1279B #9BA127 #279BA1
tetradic
#A1279B #A16A27 #27A12D #275EA1
square
#A1279B #A16A27 #27A12D #275EA1
split-complementary
#A1279B #5EA127 #27A16A
monochromatic
#3E0F3C #701B6C #A1279B #CE37C7 #DA68D5

Accessibility & contrast

On white

6.40
#A1279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A1279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1279B
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1279B#FFFFFF#000000##FFFFFF
##A1279B1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549E
Deuteranopia (green-blind)
#4D6598
Tritanopia (blue-blind)
#A7385F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a1279b;
/* rgb */ color: rgb(161, 39, 155);
/* oklch */ color: oklch(51.1% 0.201 330.2);
Tailwind
colors: {
  custom: {
    50: '#c16fb9',
    500: '#a1279b',
    950: '#000000',
  },
}
SCSS
$custom: #a1279b;
$custom-light: #c16fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a1279b",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 302.951,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.20083,
    "h": 330.2
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#A1279B
secondary
#63C068
accent
#E44C44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A1279B

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

Preview Lab → · Contrast checker → · Palette generator →

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