#A12CA6#A12CA6

#A12CA6 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.204 H 326.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A12CA6
RGBrgb(161, 44, 166)
HSLhsl(298, 58%, 41%)
HSVhsv(298, 73%, 65%)
CMYKcmyk(3%, 73.5%, 0%, 34.9%)
CIE-LABlab(41.43, 61.69, -40.84)
CIE-LCHlch(41.43, 73.98, 326.49°)
OKLaboklab(52.19% 0.1697 -0.1135)
OKLCHoklch(52.19% 0.204 326.2)
XYZxyz(22.4811, 12.1331, 37.2268)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CA6 #31A62C
analogous
#642CA6 #A12CA6 #A62C6E
triadic
#A12CA6 #A6A12C #2CA6A1
tetradic
#A12CA6 #A6642C #31A62C #2C6EA6
square
#A12CA6 #A6642C #31A62C #2C6EA6
split-complementary
#A12CA6 #6EA62C #2CA664
monochromatic
#431245 #721F76 #A12CA6 #C742CD #D673DA

Accessibility & contrast

On white

6.13
#A12CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A12CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CA6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CA6#FFFFFF#000000##FFFFFF
##A12CA61.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0958A9
Deuteranopia (green-blind)
#4867A3
Tritanopia (blue-blind)
#A54067
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12ca6;
/* rgb */ color: rgb(161, 44, 166);
/* oklch */ color: oklch(52.2% 0.204 326.2);
Tailwind
colors: {
  custom: {
    50: '#c071c1',
    500: '#a12ca6',
    950: '#000000',
  },
}
SCSS
$custom: #a12ca6;
$custom-light: #c071c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ca6",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 297.541,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.20412,
    "h": 326.2
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#A12CA6
secondary
#70C16D
accent
#E1464D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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