#A1289D#A1289D

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

Color values

HEX#A1289D
RGBrgb(161, 40, 157)
HSLhsl(302, 60%, 39%)
HSVhsv(302, 75%, 63%)
CMYKcmyk(0%, 75.2%, 2.5%, 36.9%)
CIE-LABlab(40.46, 61.49, -36.97)
CIE-LCHlch(40.46, 71.75, 328.98°)
OKLaboklab(51.33% 0.1734 -0.1022)
OKLCHoklch(51.33% 0.201 329.5)
XYZxyz(21.5424, 11.5306, 32.9828)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1289D #28A12C
analogous
#6828A1 #A1289D #A12861
triadic
#A1289D #9DA128 #289DA1
tetradic
#A1289D #A16828 #28A12C #2861A1
square
#A1289D #A16828 #28A12C #2861A1
split-complementary
#A1289D #61A128 #28A168
monochromatic
#3F103D #701C6D #A1289D #CE39C9 #DA6AD6

Accessibility & contrast

On white

6.35
#A1289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A1289D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1289D
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1289D#FFFFFF#000000##FFFFFF
##A1289D1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1289d;
/* rgb */ color: rgb(161, 40, 157);
/* oklch */ color: oklch(51.3% 0.201 329.5);
Tailwind
colors: {
  custom: {
    50: '#c16fba',
    500: '#a1289d',
    950: '#000000',
  },
}
SCSS
$custom: #a1289d;
$custom-light: #c16fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a1289d",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 301.983,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.20132,
    "h": 329.5
  },
  "luminance": 0.11529
}

Semantic roles & 50–950 ramp

primary
#A1289D
secondary
#65C068
accent
#E34A44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A1289D

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

Preview Lab → · Contrast checker → · Palette generator →

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