#A12CA2#A12CA2

#A12CA2 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.201 H 327.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A12CA2
RGBrgb(161, 44, 162)
HSLhsl(299, 57%, 40%)
HSVhsv(299, 73%, 64%)
CMYKcmyk(0.6%, 72.8%, 0%, 36.5%)
CIE-LABlab(41.20, 61.01, -38.81)
CIE-LCHlch(41.20, 72.31, 327.54°)
OKLaboklab(51.95% 0.1697 -0.1076)
OKLCHoklch(51.95% 0.201 327.6)
XYZxyz(22.1199, 11.9886, 35.3244)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CA2 #2DA22C
analogous
#662CA2 #A12CA2 #A22C68
triadic
#A12CA2 #A2A12C #2CA2A1
tetradic
#A12CA2 #A2662C #2DA22C #2C68A2
square
#A12CA2 #A2662C #2DA22C #2C68A2
split-complementary
#A12CA2 #68A22C #2CA266
monochromatic
#411242 #711F72 #A12CA2 #CA40CB #D770D8

Accessibility & contrast

On white

6.18
#A12CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A12CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CA2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CA2#FFFFFF#000000##FFFFFF
##A12CA21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A5
Deuteranopia (green-blind)
#4B669F
Tritanopia (blue-blind)
#A63E65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12ca2;
/* rgb */ color: rgb(161, 44, 162);
/* oklch */ color: oklch(52.0% 0.201 327.6);
Tailwind
colors: {
  custom: {
    50: '#c071be',
    500: '#a12ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a12ca2;
$custom-light: #c071be;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ca2",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 299.492,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51953,
    "c": 0.20095,
    "h": 327.6
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#A12CA2
secondary
#6BBF6A
accent
#E14749
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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