#A12796#A12796

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

Color values

HEX#A12796
RGBrgb(161, 39, 150)
HSLhsl(305, 61%, 39%)
HSVhsv(305, 76%, 63%)
CMYKcmyk(0%, 75.8%, 6.8%, 36.9%)
CIE-LABlab(39.97, 60.69, -33.52)
CIE-LCHlch(39.97, 69.33, 331.09°)
OKLaboklab(50.86% 0.1742 -0.0922)
OKLCHoklch(50.86% 0.197 332.1)
XYZxyz(20.9285, 11.2319, 29.9140)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12796 #27A132
analogous
#6F27A1 #A12796 #A12759
triadic
#A12796 #96A127 #2796A1
tetradic
#A12796 #A16F27 #27A132 #2759A1
square
#A12796 #A16F27 #27A132 #2759A1
split-complementary
#A12796 #59A127 #27A16F
monochromatic
#3E0F3A #701B68 #A12796 #CE37C1 #DA68D0

Accessibility & contrast

On white

6.47
#A12796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A12796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12796
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12796#FFFFFF#000000##FFFFFF
##A127961.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5399
Deuteranopia (green-blind)
#4F6493
Tritanopia (blue-blind)
#A8355D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12796;
/* rgb */ color: rgb(161, 39, 150);
/* oklch */ color: oklch(50.9% 0.197 332.1);
Tailwind
colors: {
  custom: {
    50: '#c16fb5',
    500: '#a12796',
    950: '#000000',
  },
}
SCSS
$custom: #a12796;
$custom-light: #c16fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12796",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 305.41,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.1971,
    "h": 332.1
  },
  "luminance": 0.1123
}

Semantic roles & 50–950 ramp

primary
#A12796
secondary
#63C06C
accent
#E45244
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12796

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

Preview Lab → · Contrast checker → · Palette generator →

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