#A12790#A12790

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

Color values

HEX#A12790
RGBrgb(161, 39, 144)
HSLhsl(308, 61%, 39%)
HSVhsv(308, 76%, 63%)
CMYKcmyk(0%, 75.8%, 10.6%, 36.9%)
CIE-LABlab(39.65, 59.76, -30.37)
CIE-LCHlch(39.65, 67.03, 333.06°)
OKLaboklab(50.53% 0.1739 -0.0831)
OKLCHoklch(50.53% 0.193 334.5)
XYZxyz(20.4577, 11.0435, 27.4343)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12790 #27A138
analogous
#7527A1 #A12790 #A12753
triadic
#A12790 #90A127 #2790A1
tetradic
#A12790 #A17527 #27A138 #2753A1
square
#A12790 #A17527 #27A138 #2753A1
split-complementary
#A12790 #53A127 #27A175
monochromatic
#3E0F38 #701B64 #A12790 #CE37B9 #DA68CA

Accessibility & contrast

On white

6.55
#A12790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A12790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12790
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12790#FFFFFF#000000##FFFFFF
##A127901.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255293
Deuteranopia (green-blind)
#52648D
Tritanopia (blue-blind)
#A93259
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12790;
/* rgb */ color: rgb(161, 39, 144);
/* oklch */ color: oklch(50.5% 0.193 334.5);
Tailwind
colors: {
  custom: {
    50: '#c16fb1',
    500: '#a12790',
    950: '#000000',
  },
}
SCSS
$custom: #a12790;
$custom-light: #c16fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12790",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 308.361,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.19273,
    "h": 334.5
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#A12790
secondary
#63C070
accent
#E45A44
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12790

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

Preview Lab → · Contrast checker → · Palette generator →

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