#A12CAA#A12CAA

#A12CAA is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.207 H 324.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A12CAA
RGBrgb(161, 44, 170)
HSLhsl(296, 59%, 42%)
HSVhsv(296, 74%, 67%)
CMYKcmyk(5.3%, 74.1%, 0%, 33.3%)
CIE-LABlab(41.66, 62.38, -42.85)
CIE-LCHlch(41.66, 75.68, 325.51°)
OKLaboklab(52.43% 0.1696 -0.1193)
OKLCHoklch(52.43% 0.207 324.9)
XYZxyz(22.8538, 12.2822, 39.1894)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CAA #35AA2C
analogous
#622CAA #A12CAA #AA2C74
triadic
#A12CAA #AAA12C #2CAAA1
tetradic
#A12CAA #AA622C #35AA2C #2C74AA
square
#A12CAA #AA622C #35AA2C #2C74AA
split-complementary
#A12CAA #74AA2C #2CAA62
monochromatic
#451349 #731F79 #A12CAA #C544CF #D475DB

Accessibility & contrast

On white

6.08
#A12CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A12CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CAA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CAA#FFFFFF#000000##FFFFFF
##A12CAA1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#A44269
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12caa;
/* rgb */ color: rgb(161, 44, 170);
/* oklch */ color: oklch(52.4% 0.207 324.9);
Tailwind
colors: {
  custom: {
    50: '#c172c4',
    500: '#a12caa',
    950: '#000000',
  },
}
SCSS
$custom: #a12caa;
$custom-light: #c172c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12caa",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 295.714,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.20734,
    "h": 324.9
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

primary
#A12CAA
secondary
#75C36F
accent
#E24651
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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