#A12C96#A12C96

#A12C96 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.192 H 332.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A12C96
RGBrgb(161, 44, 150)
HSLhsl(306, 57%, 40%)
HSVhsv(306, 73%, 63%)
CMYKcmyk(0%, 72.7%, 6.8%, 36.9%)
CIE-LABlab(40.54, 59.04, -32.61)
CIE-LCHlch(40.54, 67.45, 331.09°)
OKLaboklab(51.27% 0.1694 -0.0896)
OKLCHoklch(51.27% 0.192 332.1)
XYZxyz(21.1037, 11.5822, 29.9723)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C96 #2CA137
analogous
#712CA1 #A12C96 #A12C5B
triadic
#A12C96 #96A12C #2C96A1
tetradic
#A12C96 #A1712C #2CA137 #2C5BA1
square
#A12C96 #A1712C #2CA137 #2C5BA1
split-complementary
#A12C96 #5BA12C #2CA171
monochromatic
#41123C #711F69 #A12C96 #CB40BE #D870CE

Accessibility & contrast

On white

6.33
#A12C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A12C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C96
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C96#FFFFFF#000000##FFFFFF
##A12C961.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255599
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#A8395E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12c96;
/* rgb */ color: rgb(161, 44, 150);
/* oklch */ color: oklch(51.3% 0.192 332.1);
Tailwind
colors: {
  custom: {
    50: '#c071b5',
    500: '#a12c96',
    950: '#000000',
  },
}
SCSS
$custom: #a12c96;
$custom-light: #c071b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c96",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 305.641,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51272,
    "c": 0.19167,
    "h": 332.1
  },
  "luminance": 0.1158
}

Semantic roles & 50–950 ramp

primary
#A12C96
secondary
#6ABF72
accent
#E05647
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12C96

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

Preview Lab → · Contrast checker → · Palette generator →

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