#A12D96#A12D96

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

Color values

HEX#A12D96
RGBrgb(161, 45, 150)
HSLhsl(306, 56%, 40%)
HSVhsv(306, 72%, 63%)
CMYKcmyk(0%, 72%, 6.8%, 36.9%)
CIE-LABlab(40.67, 58.70, -32.42)
CIE-LCHlch(40.67, 67.05, 331.09°)
OKLaboklab(51.36% 0.1684 -0.0891)
OKLCHoklch(51.36% 0.191 332.1)
XYZxyz(21.1414, 11.6576, 29.9849)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D96 #2DA138
analogous
#722DA1 #A12D96 #A12D5C
triadic
#A12D96 #96A12D #2D96A1
tetradic
#A12D96 #A1722D #2DA138 #2D5CA1
square
#A12D96 #A1722D #2DA138 #2D5CA1
split-complementary
#A12D96 #5CA12D #2DA172
monochromatic
#41123D #712069 #A12D96 #CA41BD #D771CE

Accessibility & contrast

On white

6.30
#A12D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A12D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12D96
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D96#FFFFFF#000000##FFFFFF
##A12D961.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12d96;
/* rgb */ color: rgb(161, 45, 150);
/* oklch */ color: oklch(51.4% 0.191 332.1);
Tailwind
colors: {
  custom: {
    50: '#c071b5',
    500: '#a12d96',
    950: '#000000',
  },
}
SCSS
$custom: #a12d96;
$custom-light: #c071b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d96",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 305.69,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.19052,
    "h": 332.1
  },
  "luminance": 0.11656
}

Semantic roles & 50–950 ramp

primary
#A12D96
secondary
#6BBF73
accent
#E05748
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12D96

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

Preview Lab → · Contrast checker → · Palette generator →

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