#A12AC6#A12AC6

#A12AC6 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.232 H 316.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A12AC6
RGBrgb(161, 42, 198)
HSLhsl(286, 65%, 47%)
HSVhsv(286, 79%, 78%)
CMYKcmyk(18.7%, 78.8%, 0%, 22.4%)
CIE-LABlab(43.23, 68.10, -56.80)
CIE-LCHlch(43.23, 88.68, 320.17°)
OKLaboklab(54.11% 0.1683 -0.1602)
OKLCHoklch(54.11% 0.232 316.4)
XYZxyz(25.7174, 13.3113, 54.6298)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AC6 #4FC62A
analogous
#532AC6 #A12AC6 #C62A9D
triadic
#A12AC6 #C6A12A #2AC6A1
tetradic
#A12AC6 #C6532A #4FC62A #2A9DC6
square
#A12AC6 #C6532A #4FC62A #2A9DC6
split-complementary
#A12AC6 #9DC62A #2AC653
monochromatic
#4F1561 #781F94 #A12AC6 #BA53DA #CE85E5

Accessibility & contrast

On white

5.73
#A12AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A12AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AC6
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AC6#FFFFFF#000000##FFFFFF
##A12AC61.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#2969C3
Tritanopia (blue-blind)
#9F4E78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12ac6;
/* rgb */ color: rgb(161, 42, 198);
/* oklch */ color: oklch(54.1% 0.232 316.4);
Tailwind
colors: {
  custom: {
    50: '#c172d8',
    500: '#a12ac6',
    950: '#000000',
  },
}
SCSS
$custom: #a12ac6;
$custom-light: #c172d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ac6",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 198
  },
  "hsl": {
    "h": 285.769,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54113,
    "c": 0.23232,
    "h": 316.4
  },
  "luminance": 0.1331
}

Semantic roles & 50–950 ramp

primary
#A12AC6
secondary
#91CE7D
accent
#E84068
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130915
muted
#827B83

Preview Lab

Preview with #A12AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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