#A12396#A12396

#A12396 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.201 H 332.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A12396
RGBrgb(161, 35, 150)
HSLhsl(305, 64%, 38%)
HSVhsv(305, 78%, 63%)
CMYKcmyk(0%, 78.3%, 6.8%, 36.9%)
CIE-LABlab(39.55, 61.88, -34.18)
CIE-LCHlch(39.55, 70.69, 331.09°)
OKLaboklab(50.56% 0.1777 -0.0941)
OKLCHoklch(50.56% 0.201 332.1)
XYZxyz(20.8041, 10.9829, 29.8725)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12396 #23A12E
analogous
#6D23A1 #A12396 #A12357
triadic
#A12396 #96A123 #2396A1
tetradic
#A12396 #A16D23 #23A12E #2357A1
square
#A12396 #A16D23 #23A12E #2357A1
split-complementary
#A12396 #57A123 #23A16D
monochromatic
#3C0D38 #6F1867 #A12396 #D22FC4 #DD62D2

Accessibility & contrast

On white

6.57
#A12396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A12396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12396
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12396#FFFFFF#000000##FFFFFF
##A123961.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195299
Deuteranopia (green-blind)
#4E6393
Tritanopia (blue-blind)
#A8335C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12396;
/* rgb */ color: rgb(161, 35, 150);
/* oklch */ color: oklch(50.6% 0.201 332.1);
Tailwind
colors: {
  custom: {
    50: '#c16db5',
    500: '#a12396',
    950: '#000000',
  },
}
SCSS
$custom: #a12396;
$custom-light: #c16db5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12396",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 305.238,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5056,
    "c": 0.20105,
    "h": 332.1
  },
  "luminance": 0.10981
}

Semantic roles & 50–950 ramp

primary
#A12396
secondary
#5EC267
accent
#E74F41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12396

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

Preview Lab → · Contrast checker → · Palette generator →

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