#A12A96#A12A96

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

Color values

HEX#A12A96
RGBrgb(161, 42, 150)
HSLhsl(306, 59%, 40%)
HSVhsv(306, 74%, 63%)
CMYKcmyk(0%, 73.9%, 6.8%, 36.9%)
CIE-LABlab(40.31, 59.72, -32.99)
CIE-LCHlch(40.31, 68.22, 331.09°)
OKLaboklab(51.1% 0.1714 -0.0907)
OKLCHoklch(51.1% 0.194 332.1)
XYZxyz(21.0310, 11.4367, 29.9481)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A96 #2AA135
analogous
#702AA1 #A12A96 #A12A5B
triadic
#A12A96 #96A12A #2A96A1
tetradic
#A12A96 #A1702A #2AA135 #2A5BA1
square
#A12A96 #A1702A #2AA135 #2A5BA1
split-complementary
#A12A96 #5BA12A #2AA170
monochromatic
#40113C #701D69 #A12A96 #CC3CBF #D96DCF

Accessibility & contrast

On white

6.39
#A12A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A12A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A96
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A96#FFFFFF#000000##FFFFFF
##A12A961.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12a96;
/* rgb */ color: rgb(161, 42, 150);
/* oklch */ color: oklch(51.1% 0.194 332.1);
Tailwind
colors: {
  custom: {
    50: '#c070b5',
    500: '#a12a96',
    950: '#000000',
  },
}
SCSS
$custom: #a12a96;
$custom-light: #c070b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a96",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 305.546,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.19391,
    "h": 332.1
  },
  "luminance": 0.11435
}

Semantic roles & 50–950 ramp

primary
#A12A96
secondary
#67C06F
accent
#E25446
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12A96

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

Preview Lab → · Contrast checker → · Palette generator →

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