#A12AA3#A12AA3

#A12AA3 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.204 H 327.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A12AA3
RGBrgb(161, 42, 163)
HSLhsl(299, 59%, 40%)
HSVhsv(299, 74%, 64%)
CMYKcmyk(1.2%, 74.2%, 0%, 36.1%)
CIE-LABlab(41.02, 61.84, -39.69)
CIE-LCHlch(41.02, 73.48, 327.31°)
OKLaboklab(51.85% 0.1716 -0.1101)
OKLCHoklch(51.85% 0.204 327.3)
XYZxyz(22.1364, 11.8789, 35.7702)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AA3 #2CA32A
analogous
#642AA3 #A12AA3 #A32A69
triadic
#A12AA3 #A3A12A #2AA3A1
tetradic
#A12AA3 #A3642A #2CA32A #2A69A3
square
#A12AA3 #A3642A #2CA32A #2A69A3
split-complementary
#A12AA3 #69A32A #2AA364
monochromatic
#411142 #711D72 #A12AA3 #CB3DCD #D86EDA

Accessibility & contrast

On white

6.22
#A12AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A12AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AA3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AA3#FFFFFF#000000##FFFFFF
##A12AA31.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C57A6
Deuteranopia (green-blind)
#4966A0
Tritanopia (blue-blind)
#A63E65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12aa3;
/* rgb */ color: rgb(161, 42, 163);
/* oklch */ color: oklch(51.8% 0.204 327.3);
Tailwind
colors: {
  custom: {
    50: '#c071bf',
    500: '#a12aa3',
    950: '#000000',
  },
}
SCSS
$custom: #a12aa3;
$custom-light: #c071bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a12aa3",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 299.008,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.20388,
    "h": 327.3
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#A12AA3
secondary
#6AC068
accent
#E24648
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A12AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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