#A12196#A12196

#A12196 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.203 H 332.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A12196
RGBrgb(161, 33, 150)
HSLhsl(305, 66%, 38%)
HSVhsv(305, 80%, 63%)
CMYKcmyk(0%, 79.5%, 6.8%, 36.9%)
CIE-LABlab(39.36, 62.44, -34.48)
CIE-LCHlch(39.36, 71.33, 331.09°)
OKLaboklab(50.42% 0.1793 -0.095)
OKLCHoklch(50.42% 0.203 332.1)
XYZxyz(20.7469, 10.8686, 29.8534)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12196 #21A12C
analogous
#6C21A1 #A12196 #A12156
triadic
#A12196 #96A121 #2196A1
tetradic
#A12196 #A16C21 #21A12C #2156A1
square
#A12196 #A16C21 #21A12C #2156A1
split-complementary
#A12196 #56A121 #21A16C
monochromatic
#3B0C37 #6E1767 #A12196 #D42CC5 #DE5ED3

Accessibility & contrast

On white

6.62
#A12196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A12196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12196
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12196#FFFFFF#000000##FFFFFF
##A121961.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165199
Deuteranopia (green-blind)
#4D6393
Tritanopia (blue-blind)
#A8315B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12196;
/* rgb */ color: rgb(161, 33, 150);
/* oklch */ color: oklch(50.4% 0.203 332.1);
Tailwind
colors: {
  custom: {
    50: '#c16db5',
    500: '#a12196',
    950: '#000000',
  },
}
SCSS
$custom: #a12196;
$custom-light: #c16db5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12196",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 305.156,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.20289,
    "h": 332.1
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#A12196
secondary
#5BC364
accent
#E94D3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12196

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

Preview Lab → · Contrast checker → · Palette generator →

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