#A12A9C#A12A9C

#A12A9C is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.198 H 329.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A12A9C
RGBrgb(161, 42, 156)
HSLhsl(303, 59%, 40%)
HSVhsv(303, 74%, 63%)
CMYKcmyk(0%, 73.9%, 3.1%, 36.9%)
CIE-LABlab(40.63, 60.68, -36.10)
CIE-LCHlch(40.63, 70.61, 329.25°)
OKLaboklab(51.44% 0.1716 -0.0997)
OKLCHoklch(51.44% 0.198 329.8)
XYZxyz(21.5265, 11.6350, 32.5580)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A9C #2AA12F
analogous
#6B2AA1 #A12A9C #A12A61
triadic
#A12A9C #9CA12A #2A9CA1
tetradic
#A12A9C #A16B2A #2AA12F #2A61A1
square
#A12A9C #A16B2A #2AA12F #2A61A1
split-complementary
#A12A9C #61A12A #2AA16B
monochromatic
#40113E #701D6D #A12A9C #CC3CC6 #D96DD4

Accessibility & contrast

On white

6.31
#A12A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A12A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A9C
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A9C#FFFFFF#000000##FFFFFF
##A12A9C1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A569F
Deuteranopia (green-blind)
#4D6599
Tritanopia (blue-blind)
#A73A61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12a9c;
/* rgb */ color: rgb(161, 42, 156);
/* oklch */ color: oklch(51.4% 0.198 329.8);
Tailwind
colors: {
  custom: {
    50: '#c070b9',
    500: '#a12a9c',
    950: '#000000',
  },
}
SCSS
$custom: #a12a9c;
$custom-light: #c070b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a9c",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 302.521,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51438,
    "c": 0.19846,
    "h": 329.8
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#A12A9C
secondary
#67C06B
accent
#E24D46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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