#A1249E#A1249E

#A1249E is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.206 H 329.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A1249E
RGBrgb(161, 36, 158)
HSLhsl(301, 63%, 39%)
HSVhsv(301, 78%, 63%)
CMYKcmyk(0%, 77.6%, 1.9%, 36.9%)
CIE-LABlab(40.10, 62.86, -38.15)
CIE-LCHlch(40.10, 73.53, 328.74°)
OKLaboklab(51.09% 0.1769 -0.1056)
OKLCHoklch(51.09% 0.206 329.2)
XYZxyz(21.5002, 11.3091, 33.3916)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1249E #24A127
analogous
#6524A1 #A1249E #A1245F
triadic
#A1249E #9EA124 #249EA1
tetradic
#A1249E #A16524 #24A127 #245FA1
square
#A1249E #A16524 #24A127 #245FA1
split-complementary
#A1249E #5FA124 #24A165
monochromatic
#3D0E3C #6F196D #A1249E #D131CD #DC63D9

Accessibility & contrast

On white

6.44
#A1249E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A1249E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1249E
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1249E#FFFFFF#000000##FFFFFF
##A1249E1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0954A1
Deuteranopia (green-blind)
#4A649B
Tritanopia (blue-blind)
#A73860
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a1249e;
/* rgb */ color: rgb(161, 36, 158);
/* oklch */ color: oklch(51.1% 0.206 329.2);
Tailwind
colors: {
  custom: {
    50: '#c16ebb',
    500: '#a1249e',
    950: '#000000',
  },
}
SCSS
$custom: #a1249e;
$custom-light: #c16ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#a1249e",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 301.44,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.20602,
    "h": 329.2
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#A1249E
secondary
#5FC262
accent
#E64541
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A1249E

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

Preview Lab → · Contrast checker → · Palette generator →

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