#A1298E#A1298E

#A1298E is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.189 H 335.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A1298E
RGBrgb(161, 41, 142)
HSLhsl(310, 59%, 40%)
HSVhsv(310, 75%, 63%)
CMYKcmyk(0%, 74.5%, 11.8%, 36.9%)
CIE-LABlab(39.78, 58.81, -28.95)
CIE-LCHlch(39.78, 65.55, 333.79°)
OKLaboklab(50.59% 0.1718 -0.0791)
OKLCHoklch(50.59% 0.189 335.3)
XYZxyz(20.3736, 11.1178, 26.6589)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1298E #29A13C
analogous
#7829A1 #A1298E #A12952
triadic
#A1298E #8EA129 #298EA1
tetradic
#A1298E #A17829 #29A13C #2952A1
square
#A1298E #A17829 #29A13C #2952A1
split-complementary
#A1298E #52A129 #29A178
monochromatic
#3F1038 #701D63 #A1298E #CD3AB6 #D96BC8

Accessibility & contrast

On white

6.52
#A1298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A1298E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1298E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1298E#FFFFFF#000000##FFFFFF
##A1298E1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#A93359
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a1298e;
/* rgb */ color: rgb(161, 41, 142);
/* oklch */ color: oklch(50.6% 0.189 335.3);
Tailwind
colors: {
  custom: {
    50: '#c06faf',
    500: '#a1298e',
    950: '#000000',
  },
}
SCSS
$custom: #a1298e;
$custom-light: #c06faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a1298e",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 309.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.18914,
    "h": 335.3
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

primary
#A1298E
secondary
#66C074
accent
#E35E45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1298E

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

Preview Lab → · Contrast checker → · Palette generator →

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