#A12A99#A12A99

#A12A99 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.196 H 331.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A12A99
RGBrgb(161, 42, 153)
HSLhsl(304, 59%, 40%)
HSVhsv(304, 74%, 63%)
CMYKcmyk(0%, 73.9%, 5%, 36.9%)
CIE-LABlab(40.47, 60.20, -34.55)
CIE-LCHlch(40.47, 69.41, 330.15°)
OKLaboklab(51.27% 0.1715 -0.0952)
OKLCHoklch(51.27% 0.196 331)
XYZxyz(21.2756, 11.5346, 31.2367)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A99 #2AA132
analogous
#6E2AA1 #A12A99 #A12A5D
triadic
#A12A99 #99A12A #2A99A1
tetradic
#A12A99 #A16E2A #2AA132 #2A5DA1
square
#A12A99 #A16E2A #2AA132 #2A5DA1
split-complementary
#A12A99 #5DA12A #2AA16E
monochromatic
#40113D #701D6B #A12A99 #CC3CC2 #D96DD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12A99#FFFFFF#000000##FFFFFF
##A12A991.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)
#1F559C
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#A7395F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12a99;
/* rgb */ color: rgb(161, 42, 153);
/* oklch */ color: oklch(51.3% 0.196 331.0);
Tailwind
colors: {
  custom: {
    50: '#c070b7',
    500: '#a12a99',
    950: '#000000',
  },
}
SCSS
$custom: #a12a99;
$custom-light: #c070b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a99",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 304.034,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.19616,
    "h": 331
  },
  "luminance": 0.11533
}

Semantic roles & 50–950 ramp

primary
#A12A99
secondary
#67C06D
accent
#E25046
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12A99

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

Preview Lab → · Contrast checker → · Palette generator →

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