#A12E9A#A12E9A

#A12E9A is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.192 H 330.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A12E9A
RGBrgb(161, 46, 154)
HSLhsl(304, 56%, 41%)
HSVhsv(304, 71%, 63%)
CMYKcmyk(0%, 71.4%, 4.3%, 36.9%)
CIE-LABlab(41.00, 58.99, -34.31)
CIE-LCHlch(41.00, 68.24, 329.82°)
OKLaboklab(51.67% 0.1676 -0.0945)
OKLCHoklch(51.67% 0.192 330.6)
XYZxyz(21.5076, 11.8658, 31.7231)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E9A #2EA135
analogous
#6E2EA1 #A12E9A #A12E60
triadic
#A12E9A #9AA12E #2E9AA1
tetradic
#A12E9A #A16E2E #2EA135 #2E60A1
square
#A12E9A #A16E2E #2EA135 #2E60A1
split-complementary
#A12E9A #60A12E #2EA16E
monochromatic
#42133F #71206C #A12E9A #C943C1 #D773D1

Accessibility & contrast

On white

6.23
#A12E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A12E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E9A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E9A#FFFFFF#000000##FFFFFF
##A12E9A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#A73C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12e9a;
/* rgb */ color: rgb(161, 46, 154);
/* oklch */ color: oklch(51.7% 0.192 330.6);
Tailwind
colors: {
  custom: {
    50: '#c072b8',
    500: '#a12e9a',
    950: '#000000',
  },
}
SCSS
$custom: #a12e9a;
$custom-light: #c072b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e9a",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 303.652,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5167,
    "c": 0.19243,
    "h": 330.6
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#A12E9A
secondary
#6CBE71
accent
#DF5249
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A12E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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