#A12596#A12596

#A12596 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.199 H 332.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A12596
RGBrgb(161, 37, 150)
HSLhsl(305, 63%, 39%)
HSVhsv(305, 77%, 63%)
CMYKcmyk(0%, 77%, 6.8%, 36.9%)
CIE-LABlab(39.76, 61.30, -33.86)
CIE-LCHlch(39.76, 70.03, 331.09°)
OKLaboklab(50.71% 0.176 -0.0932)
OKLCHoklch(50.71% 0.199 332.1)
XYZxyz(20.8646, 11.1040, 29.8926)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12596 #25A130
analogous
#6E25A1 #A12596 #A12558
triadic
#A12596 #96A125 #2596A1
tetradic
#A12596 #A16E25 #25A130 #2558A1
square
#A12596 #A16E25 #25A130 #2558A1
split-complementary
#A12596 #58A125 #25A16E
monochromatic
#3D0E39 #6F1A68 #A12596 #D033C2 #DC65D1

Accessibility & contrast

On white

6.52
#A12596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A12596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12596
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12596#FFFFFF#000000##FFFFFF
##A125961.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12596;
/* rgb */ color: rgb(161, 37, 150);
/* oklch */ color: oklch(50.7% 0.199 332.1);
Tailwind
colors: {
  custom: {
    50: '#c16eb5',
    500: '#a12596',
    950: '#000000',
  },
}
SCSS
$custom: #a12596;
$custom-light: #c16eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12596",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 305.323,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.19912,
    "h": 332.1
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#A12596
secondary
#61C169
accent
#E65142
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12596

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

Preview Lab → · Contrast checker → · Palette generator →

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