#A12FA9#A12FA9

#A12FA9 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.6% C 0.203 H 325.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A12FA9
RGBrgb(161, 47, 169)
HSLhsl(296, 56%, 42%)
HSVhsv(296, 72%, 66%)
CMYKcmyk(4.7%, 72.2%, 0%, 33.7%)
CIE-LABlab(41.96, 61.17, -41.77)
CIE-LCHlch(41.96, 74.08, 325.67°)
OKLaboklab(52.63% 0.1667 -0.1162)
OKLCHoklch(52.63% 0.203 325.1)
XYZxyz(22.8754, 12.4761, 38.7317)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FA9 #37A92F
analogous
#642FA9 #A12FA9 #A92F74
triadic
#A12FA9 #A9A12F #2FA9A1
tetradic
#A12FA9 #A9642F #37A92F #2F74A9
square
#A12FA9 #A9642F #37A92F #2F74A9
split-complementary
#A12FA9 #74A92F #2FA964
monochromatic
#461449 #732279 #A12FA9 #C449CC #D379DA

Accessibility & contrast

On white

6.01
#A12FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A12FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FA9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FA9#FFFFFF#000000##FFFFFF
##A12FA91.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5AAC
Deuteranopia (green-blind)
#4868A6
Tritanopia (blue-blind)
#A54469
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12fa9;
/* rgb */ color: rgb(161, 47, 169);
/* oklch */ color: oklch(52.6% 0.203 325.1);
Tailwind
colors: {
  custom: {
    50: '#c073c3',
    500: '#a12fa9',
    950: '#000000',
  },
}
SCSS
$custom: #a12fa9;
$custom-light: #c073c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fa9",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 296.066,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.20324,
    "h": 325.1
  },
  "luminance": 0.12475
}

Semantic roles & 50–950 ramp

primary
#A12FA9
secondary
#77C272
accent
#E04852
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A12FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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