#A12E96#A12E96

#A12E96 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.189 H 332.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A12E96
RGBrgb(161, 46, 150)
HSLhsl(306, 56%, 41%)
HSVhsv(306, 71%, 63%)
CMYKcmyk(0%, 71.4%, 6.8%, 36.9%)
CIE-LABlab(40.79, 58.34, -32.22)
CIE-LCHlch(40.79, 66.65, 331.09°)
OKLaboklab(51.45% 0.1674 -0.0885)
OKLCHoklch(51.45% 0.189 332.1)
XYZxyz(21.1800, 11.7348, 29.9978)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E96 #2EA139
analogous
#722EA1 #A12E96 #A12E5C
triadic
#A12E96 #96A12E #2E96A1
tetradic
#A12E96 #A1722E #2EA139 #2E5CA1
square
#A12E96 #A1722E #2EA139 #2E5CA1
split-complementary
#A12E96 #5CA12E #2EA172
monochromatic
#42133D #71206A #A12E96 #C943BC #D773CD

Accessibility & contrast

On white

6.28
#A12E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A12E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E96
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E96#FFFFFF#000000##FFFFFF
##A12E961.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275699
Deuteranopia (green-blind)
#526693
Tritanopia (blue-blind)
#A83A5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12e96;
/* rgb */ color: rgb(161, 46, 150);
/* oklch */ color: oklch(51.4% 0.189 332.1);
Tailwind
colors: {
  custom: {
    50: '#c072b5',
    500: '#a12e96',
    950: '#000000',
  },
}
SCSS
$custom: #a12e96;
$custom-light: #c072b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e96",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 305.739,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5145,
    "c": 0.18935,
    "h": 332.1
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#A12E96
secondary
#6CBE74
accent
#DF5749
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A12E96

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

Preview Lab → · Contrast checker → · Palette generator →

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