#A12696#A12696

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

Color values

HEX#A12696
RGBrgb(161, 38, 150)
HSLhsl(305, 62%, 39%)
HSVhsv(305, 76%, 63%)
CMYKcmyk(0%, 76.4%, 6.8%, 36.9%)
CIE-LABlab(39.86, 60.99, -33.69)
CIE-LCHlch(39.86, 69.68, 331.09°)
OKLaboklab(50.78% 0.1751 -0.0927)
OKLCHoklch(50.78% 0.198 332.1)
XYZxyz(20.8961, 11.1670, 29.9032)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12696 #26A131
analogous
#6F26A1 #A12696 #A12659
triadic
#A12696 #96A126 #2696A1
tetradic
#A12696 #A16F26 #26A131 #2659A1
square
#A12696 #A16F26 #26A131 #2659A1
split-complementary
#A12696 #59A126 #26A16F
monochromatic
#3E0F3A #6F1A68 #A12696 #CF35C1 #DB66D1

Accessibility & contrast

On white

6.50
#A12696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A12696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12696
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12696#FFFFFF#000000##FFFFFF
##A126961.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12696;
/* rgb */ color: rgb(161, 38, 150);
/* oklch */ color: oklch(50.8% 0.198 332.1);
Tailwind
colors: {
  custom: {
    50: '#c16eb5',
    500: '#a12696',
    950: '#000000',
  },
}
SCSS
$custom: #a12696;
$custom-light: #c16eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12696",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 305.366,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50781,
    "c": 0.19812,
    "h": 332.1
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#A12696
secondary
#62C16A
accent
#E55143
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12696

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

Preview Lab → · Contrast checker → · Palette generator →

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