#A12996#A12996

#A12996 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.195 H 332.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A12996
RGBrgb(161, 41, 150)
HSLhsl(306, 59%, 40%)
HSVhsv(306, 75%, 63%)
CMYKcmyk(0%, 74.5%, 6.8%, 36.9%)
CIE-LABlab(40.19, 60.05, -33.17)
CIE-LCHlch(40.19, 68.60, 331.09°)
OKLaboklab(51.02% 0.1723 -0.0912)
OKLCHoklch(51.02% 0.195 332.1)
XYZxyz(20.9960, 11.3667, 29.9364)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12996 #29A134
analogous
#7029A1 #A12996 #A1295A
triadic
#A12996 #96A129 #2996A1
tetradic
#A12996 #A17029 #29A134 #295AA1
square
#A12996 #A17029 #29A134 #295AA1
split-complementary
#A12996 #5AA129 #29A170
monochromatic
#3F103B #701D69 #A12996 #CD3ABF #D96BCF

Accessibility & contrast

On white

6.42
#A12996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A12996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12996
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12996#FFFFFF#000000##FFFFFF
##A129961.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#506593
Tritanopia (blue-blind)
#A8375D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12996;
/* rgb */ color: rgb(161, 41, 150);
/* oklch */ color: oklch(51.0% 0.195 332.1);
Tailwind
colors: {
  custom: {
    50: '#c070b5',
    500: '#a12996',
    950: '#000000',
  },
}
SCSS
$custom: #a12996;
$custom-light: #c070b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12996",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 305.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51019,
    "c": 0.19499,
    "h": 332.1
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#A12996
secondary
#66C06E
accent
#E35445
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12996

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

Preview Lab → · Contrast checker → · Palette generator →

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