#A12AC2#A12AC2

#A12AC2 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.229 H 317.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A12AC2
RGBrgb(161, 42, 194)
HSLhsl(287, 64%, 46%)
HSVhsv(287, 78%, 76%)
CMYKcmyk(17%, 78.4%, 0%, 23.9%)
CIE-LABlab(42.96, 67.35, -54.91)
CIE-LCHlch(42.96, 86.90, 320.81°)
OKLaboklab(53.84% 0.1689 -0.1546)
OKLCHoklch(53.84% 0.229 317.5)
XYZxyz(25.2621, 13.1292, 52.2320)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AC2 #4BC22A
analogous
#552AC2 #A12AC2 #C22A97
triadic
#A12AC2 #C2A12A #2AC2A1
tetradic
#A12AC2 #C2552A #4BC22A #2A97C2
square
#A12AC2 #C2552A #4BC22A #2A97C2
split-complementary
#A12AC2 #97C22A #2AC255
monochromatic
#4E145D #771F90 #A12AC2 #BB50D9 #CF82E4

Accessibility & contrast

On white

5.79
#A12AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A12AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AC2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AC2#FFFFFF#000000##FFFFFF
##A12AC21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#A04C76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a12ac2;
/* rgb */ color: rgb(161, 42, 194);
/* oklch */ color: oklch(53.8% 0.229 317.5);
Tailwind
colors: {
  custom: {
    50: '#c172d5',
    500: '#a12ac2',
    950: '#000000',
  },
}
SCSS
$custom: #a12ac2;
$custom-light: #c172d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ac2",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 286.974,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.22899,
    "h": 317.5
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#A12AC2
secondary
#8DCD7B
accent
#E74065
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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