#A12AA1#A12AA1

#A12AA1 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.202 H 328.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A12AA1
RGBrgb(161, 42, 161)
HSLhsl(300, 59%, 40%)
HSVhsv(300, 74%, 63%)
CMYKcmyk(0%, 73.9%, 0%, 36.9%)
CIE-LABlab(40.91, 61.51, -38.67)
CIE-LCHlch(40.91, 72.65, 327.84°)
OKLaboklab(51.73% 0.1716 -0.1071)
OKLCHoklch(51.73% 0.202 328)
XYZxyz(21.9587, 11.8078, 34.8339)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AA1 #2AA12A
analogous
#662AA1 #A12AA1 #A12A66
triadic
#A12AA1 #A1A12A #2AA1A1
tetradic
#A12AA1 #A1662A #2AA12A #2A66A1
square
#A12AA1 #A1662A #2AA12A #2A66A1
split-complementary
#A12AA1 #66A12A #2AA166
monochromatic
#401140 #701D70 #A12AA1 #CC3CCC #D96DD9

Accessibility & contrast

On white

6.25
#A12AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A12AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AA1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AA1#FFFFFF#000000##FFFFFF
##A12AA11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A4
Deuteranopia (green-blind)
#4B669E
Tritanopia (blue-blind)
#A63D63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12aa1;
/* rgb */ color: rgb(161, 42, 161);
/* oklch */ color: oklch(51.7% 0.202 328.0);
Tailwind
colors: {
  custom: {
    50: '#c070bd',
    500: '#a12aa1',
    950: '#000000',
  },
}
SCSS
$custom: #a12aa1;
$custom-light: #c070bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a12aa1",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 300,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51728,
    "c": 0.20231,
    "h": 328
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

primary
#A12AA1
secondary
#67C067
accent
#E24646
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A12AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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