#A12A9A#A12A9A

#A12A9A is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.197 H 330.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A12A9A
RGBrgb(161, 42, 154)
HSLhsl(304, 59%, 40%)
HSVhsv(304, 74%, 63%)
CMYKcmyk(0%, 73.9%, 4.3%, 36.9%)
CIE-LABlab(40.52, 60.36, -35.07)
CIE-LCHlch(40.52, 69.81, 329.84°)
OKLaboklab(51.33% 0.1715 -0.0967)
OKLCHoklch(51.33% 0.197 330.6)
XYZxyz(21.3586, 11.5678, 31.6735)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A9A #2AA131
analogous
#6C2AA1 #A12A9A #A12A5F
triadic
#A12A9A #9AA12A #2A9AA1
tetradic
#A12A9A #A16C2A #2AA131 #2A5FA1
square
#A12A9A #A16C2A #2AA131 #2A5FA1
split-complementary
#A12A9A #5FA12A #2AA16C
monochromatic
#40113D #701D6C #A12A9A #CC3CC4 #D96DD2

Accessibility & contrast

On white

6.34
#A12A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12A9A
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A9A#FFFFFF#000000##FFFFFF
##A12A9A1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#A73960
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12a9a;
/* rgb */ color: rgb(161, 42, 154);
/* oklch */ color: oklch(51.3% 0.197 330.6);
Tailwind
colors: {
  custom: {
    50: '#c070b8',
    500: '#a12a9a',
    950: '#000000',
  },
}
SCSS
$custom: #a12a9a;
$custom-light: #c070b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a9a",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 303.529,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51325,
    "c": 0.19692,
    "h": 330.6
  },
  "luminance": 0.11566
}

Semantic roles & 50–950 ramp

primary
#A12A9A
secondary
#67C06C
accent
#E24F46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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