#A12591#A12591

#A12591 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.196 H 334.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A12591
RGBrgb(161, 37, 145)
HSLhsl(308, 63%, 39%)
HSVhsv(308, 77%, 63%)
CMYKcmyk(0%, 77%, 9.9%, 36.9%)
CIE-LABlab(39.49, 60.53, -31.23)
CIE-LCHlch(39.49, 68.11, 332.71°)
OKLaboklab(50.43% 0.1758 -0.0856)
OKLCHoklch(50.43% 0.196 334)
XYZxyz(20.4705, 10.9463, 27.8173)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12591 #25A135
analogous
#7325A1 #A12591 #A12553
triadic
#A12591 #91A125 #2591A1
tetradic
#A12591 #A17325 #25A135 #2553A1
square
#A12591 #A17325 #25A135 #2553A1
split-complementary
#A12591 #53A125 #25A173
monochromatic
#3D0E37 #6F1A64 #A12591 #D033BC #DC65CC

Accessibility & contrast

On white

6.59
#A12591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A12591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12591
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12591#FFFFFF#000000##FFFFFF
##A125911.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225294
Deuteranopia (green-blind)
#51638E
Tritanopia (blue-blind)
#A93159
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12591;
/* rgb */ color: rgb(161, 37, 145);
/* oklch */ color: oklch(50.4% 0.196 334.0);
Tailwind
colors: {
  custom: {
    50: '#c16eb1',
    500: '#a12591',
    950: '#000000',
  },
}
SCSS
$custom: #a12591;
$custom-light: #c16eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12591",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 307.742,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5043,
    "c": 0.1955,
    "h": 334
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#A12591
secondary
#61C16D
accent
#E65742
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A12591

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

Preview Lab → · Contrast checker → · Palette generator →

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