#A12CAC#A12CAC

#A12CAC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.209 H 324.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A12CAC
RGBrgb(161, 44, 172)
HSLhsl(295, 59%, 42%)
HSVhsv(295, 74%, 67%)
CMYKcmyk(6.4%, 74.4%, 0%, 32.5%)
CIE-LABlab(41.78, 62.73, -43.85)
CIE-LCHlch(41.78, 76.53, 325.04°)
OKLaboklab(52.56% 0.1695 -0.1222)
OKLCHoklch(52.56% 0.209 324.2)
XYZxyz(23.0444, 12.3584, 40.1934)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CAC #37AC2C
analogous
#612CAC #A12CAC #AC2C77
triadic
#A12CAC #ACA12C #2CACA1
tetradic
#A12CAC #AC612C #37AC2C #2C77AC
square
#A12CAC #AC612C #37AC2C #2C77AC
split-complementary
#A12CAC #77AC2C #2CAC61
monochromatic
#46134B #73207B #A12CAC #C446D0 #D376DC

Accessibility & contrast

On white

6.05
#A12CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A12CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CAC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CAC#FFFFFF#000000##FFFFFF
##A12CAC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4467A9
Tritanopia (blue-blind)
#A4436A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12cac;
/* rgb */ color: rgb(161, 44, 172);
/* oklch */ color: oklch(52.6% 0.209 324.2);
Tailwind
colors: {
  custom: {
    50: '#c172c5',
    500: '#a12cac',
    950: '#000000',
  },
}
SCSS
$custom: #a12cac;
$custom-light: #c172c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cac",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 294.844,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52556,
    "c": 0.20895,
    "h": 324.2
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#A12CAC
secondary
#77C470
accent
#E24553
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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