#A12896#A12896

#A12896 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.196 H 332.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A12896
RGBrgb(161, 40, 150)
HSLhsl(305, 60%, 39%)
HSVhsv(305, 75%, 63%)
CMYKcmyk(0%, 75.2%, 6.8%, 36.9%)
CIE-LABlab(40.08, 60.37, -33.35)
CIE-LCHlch(40.08, 68.97, 331.09°)
OKLaboklab(50.94% 0.1733 -0.0917)
OKLCHoklch(50.94% 0.196 332.1)
XYZxyz(20.9618, 11.2984, 29.9250)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12896 #28A133
analogous
#7028A1 #A12896 #A12859
triadic
#A12896 #96A128 #2896A1
tetradic
#A12896 #A17028 #28A133 #2859A1
square
#A12896 #A17028 #28A133 #2859A1
split-complementary
#A12896 #59A128 #28A170
monochromatic
#3F103B #701C68 #A12896 #CE39C0 #DA6AD0

Accessibility & contrast

On white

6.44
#A12896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A12896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12896
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12896#FFFFFF#000000##FFFFFF
##A128961.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205499
Deuteranopia (green-blind)
#506493
Tritanopia (blue-blind)
#A8365D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12896;
/* rgb */ color: rgb(161, 40, 150);
/* oklch */ color: oklch(50.9% 0.196 332.1);
Tailwind
colors: {
  custom: {
    50: '#c06fb5',
    500: '#a12896',
    950: '#000000',
  },
}
SCSS
$custom: #a12896;
$custom-light: #c06fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12896",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 305.455,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50938,
    "c": 0.19606,
    "h": 332.1
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#A12896
secondary
#65C06D
accent
#E35344
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12896

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

Preview Lab → · Contrast checker → · Palette generator →

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