#A12592#A12592

#A12592 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.196 H 333.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A12592
RGBrgb(161, 37, 146)
HSLhsl(307, 63%, 39%)
HSVhsv(307, 77%, 63%)
CMYKcmyk(0%, 77%, 9.3%, 36.9%)
CIE-LABlab(39.54, 60.68, -31.76)
CIE-LCHlch(39.54, 68.49, 332.37°)
OKLaboklab(50.49% 0.1758 -0.0871)
OKLCHoklch(50.49% 0.196 333.6)
XYZxyz(20.5480, 10.9773, 28.2252)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12592 #25A134
analogous
#7225A1 #A12592 #A12554
triadic
#A12592 #92A125 #2592A1
tetradic
#A12592 #A17225 #25A134 #2554A1
square
#A12592 #A17225 #25A134 #2554A1
split-complementary
#A12592 #54A125 #25A172
monochromatic
#3D0E38 #6F1A65 #A12592 #D033BD #DC65CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12592#FFFFFF#000000##FFFFFF
##A125921.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)
#215295
Deuteranopia (green-blind)
#51638F
Tritanopia (blue-blind)
#A9325A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12592;
/* rgb */ color: rgb(161, 37, 146);
/* oklch */ color: oklch(50.5% 0.196 333.6);
Tailwind
colors: {
  custom: {
    50: '#c16eb2',
    500: '#a12592',
    950: '#000000',
  },
}
SCSS
$custom: #a12592;
$custom-light: #c16eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12592",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 307.258,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50485,
    "c": 0.19622,
    "h": 333.6
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#A12592
secondary
#61C16C
accent
#E65642
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12592

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

Preview Lab → · Contrast checker → · Palette generator →

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