#A12794#A12794

#A12794 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.196 H 332.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A12794
RGBrgb(161, 39, 148)
HSLhsl(306, 61%, 39%)
HSVhsv(306, 76%, 63%)
CMYKcmyk(0%, 75.8%, 8.1%, 36.9%)
CIE-LABlab(39.86, 60.37, -32.47)
CIE-LCHlch(39.86, 68.55, 331.73°)
OKLaboklab(50.75% 0.1741 -0.0892)
OKLCHoklch(50.75% 0.196 332.9)
XYZxyz(20.7689, 11.1680, 29.0730)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12794 #27A134
analogous
#7127A1 #A12794 #A12757
triadic
#A12794 #94A127 #2794A1
tetradic
#A12794 #A17127 #27A134 #2757A1
square
#A12794 #A17127 #27A134 #2757A1
split-complementary
#A12794 #57A127 #27A171
monochromatic
#3E0F39 #701B67 #A12794 #CE37BE #DA68CE

Accessibility & contrast

On white

6.50
#A12794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A12794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12794
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12794#FFFFFF#000000##FFFFFF
##A127941.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215397
Deuteranopia (green-blind)
#506491
Tritanopia (blue-blind)
#A8345B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12794;
/* rgb */ color: rgb(161, 39, 148);
/* oklch */ color: oklch(50.7% 0.196 332.9);
Tailwind
colors: {
  custom: {
    50: '#c06fb4',
    500: '#a12794',
    950: '#000000',
  },
}
SCSS
$custom: #a12794;
$custom-light: #c06fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12794",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 306.393,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50748,
    "c": 0.19563,
    "h": 332.9
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#A12794
secondary
#63C06D
accent
#E45544
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12794

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

Preview Lab → · Contrast checker → · Palette generator →

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