#A12AC9#A12AC9

#A12AC9 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.235 H 315.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A12AC9
RGBrgb(161, 42, 201)
HSLhsl(285, 65%, 48%)
HSVhsv(285, 79%, 79%)
CMYKcmyk(19.9%, 79.1%, 0%, 21.2%)
CIE-LABlab(43.44, 68.67, -58.21)
CIE-LCHlch(43.44, 90.02, 319.71°)
OKLaboklab(54.32% 0.1678 -0.1643)
OKLCHoklch(54.32% 0.235 315.6)
XYZxyz(26.0668, 13.4511, 56.4702)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AC9 #52C92A
analogous
#522AC9 #A12AC9 #C92AA1
triadic
#A12AC9 #C9A12A #2AC9A1
tetradic
#A12AC9 #C9522A #52C92A #2AA1C9
square
#A12AC9 #C9522A #52C92A #2AA1C9
split-complementary
#A12AC9 #A1C92A #2AC952
monochromatic
#501564 #781F96 #A12AC9 #BA55DB #CE87E6

Accessibility & contrast

On white

5.69
#A12AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A12AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AC9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AC9#FFFFFF#000000##FFFFFF
##A12AC91.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#246AC6
Tritanopia (blue-blind)
#9E507A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a12ac9;
/* rgb */ color: rgb(161, 42, 201);
/* oklch */ color: oklch(54.3% 0.235 315.6);
Tailwind
colors: {
  custom: {
    50: '#c272da',
    500: '#a12ac9',
    950: '#000000',
  },
}
SCSS
$custom: #a12ac9;
$custom-light: #c272da;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ac9",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 284.906,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54324,
    "c": 0.23482,
    "h": 315.6
  },
  "luminance": 0.1345
}

Semantic roles & 50–950 ramp

primary
#A12AC9
secondary
#93D07F
accent
#E83F6A
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A12AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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