#A12B96#A12B96

#A12B96 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.193 H 332.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A12B96
RGBrgb(161, 43, 150)
HSLhsl(306, 58%, 40%)
HSVhsv(306, 73%, 63%)
CMYKcmyk(0%, 73.3%, 6.8%, 36.9%)
CIE-LABlab(40.42, 59.38, -32.80)
CIE-LCHlch(40.42, 67.84, 331.09°)
OKLaboklab(51.19% 0.1704 -0.0902)
OKLCHoklch(51.19% 0.193 332.1)
XYZxyz(21.0669, 11.5085, 29.9601)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12B96 #2BA136
analogous
#712BA1 #A12B96 #A12B5B
triadic
#A12B96 #96A12B #2B96A1
tetradic
#A12B96 #A1712B #2BA136 #2B5BA1
square
#A12B96 #A1712B #2BA136 #2B5BA1
split-complementary
#A12B96 #5BA12B #2BA171
monochromatic
#40113C #711E69 #A12B96 #CB3EBE #D86ECE

Accessibility & contrast

On white

6.36
#A12B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A12B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12B96
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12B96#FFFFFF#000000##FFFFFF
##A12B961.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235599
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#A8385E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12b96;
/* rgb */ color: rgb(161, 43, 150);
/* oklch */ color: oklch(51.2% 0.193 332.1);
Tailwind
colors: {
  custom: {
    50: '#c070b5',
    500: '#a12b96',
    950: '#000000',
  },
}
SCSS
$custom: #a12b96;
$custom-light: #c070b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12b96",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 305.593,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.51186,
    "c": 0.1928,
    "h": 332.1
  },
  "luminance": 0.11507
}

Semantic roles & 50–950 ramp

primary
#A12B96
secondary
#69BF71
accent
#E15547
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12B96

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

Preview Lab → · Contrast checker → · Palette generator →

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