#A12AAC#A12AAC

#A12AAC is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.211 H 324.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A12AAC
RGBrgb(161, 42, 172)
HSLhsl(295, 61%, 42%)
HSVhsv(295, 76%, 67%)
CMYKcmyk(6.4%, 75.6%, 0%, 32.5%)
CIE-LABlab(41.55, 63.38, -44.21)
CIE-LCHlch(41.55, 77.28, 325.10°)
OKLaboklab(52.39% 0.1713 -0.1233)
OKLCHoklch(52.39% 0.211 324.2)
XYZxyz(22.9717, 12.2130, 40.1691)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AAC #35AC2A
analogous
#602AAC #A12AAC #AC2A76
triadic
#A12AAC #ACA12A #2AACA1
tetradic
#A12AAC #AC602A #35AC2A #2A76AC
square
#A12AAC #AC602A #35AC2A #2A76AC
split-complementary
#A12AAC #76AC2A #2AAC60
monochromatic
#45124A #731E7B #A12AAC #C542D1 #D473DD

Accessibility & contrast

On white

6.10
#A12AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A12AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AAC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AAC#FFFFFF#000000##FFFFFF
##A12AAC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4367A9
Tritanopia (blue-blind)
#A4426A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12aac;
/* rgb */ color: rgb(161, 42, 172);
/* oklch */ color: oklch(52.4% 0.211 324.2);
Tailwind
colors: {
  custom: {
    50: '#c171c5',
    500: '#a12aac',
    950: '#000000',
  },
}
SCSS
$custom: #a12aac;
$custom-light: #c171c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12aac",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 294.923,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.21102,
    "h": 324.2
  },
  "luminance": 0.12212
}

Semantic roles & 50–950 ramp

primary
#A12AAC
secondary
#75C46D
accent
#E44451
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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