#A12CA9#A12CA9

#A12CA9 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.207 H 325.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A12CA9
RGBrgb(161, 44, 169)
HSLhsl(296, 59%, 42%)
HSVhsv(296, 74%, 66%)
CMYKcmyk(4.7%, 74%, 0%, 33.7%)
CIE-LABlab(41.60, 62.20, -42.35)
CIE-LCHlch(41.60, 75.25, 325.75°)
OKLaboklab(52.37% 0.1696 -0.1179)
OKLCHoklch(52.37% 0.207 325.2)
XYZxyz(22.7595, 12.2445, 38.6931)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CA9 #34A92C
analogous
#632CA9 #A12CA9 #A92C73
triadic
#A12CA9 #A9A12C #2CA9A1
tetradic
#A12CA9 #A9632C #34A92C #2C73A9
square
#A12CA9 #A9632C #34A92C #2C73A9
split-complementary
#A12CA9 #73A92C #2CA963
monochromatic
#441348 #731F78 #A12CA9 #C544CE #D474DB

Accessibility & contrast

On white

6.09
#A12CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A12CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CA9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CA9#FFFFFF#000000##FFFFFF
##A12CA91.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#A54268
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12ca9;
/* rgb */ color: rgb(161, 44, 169);
/* oklch */ color: oklch(52.4% 0.207 325.2);
Tailwind
colors: {
  custom: {
    50: '#c172c3',
    500: '#a12ca9',
    950: '#000000',
  },
}
SCSS
$custom: #a12ca9;
$custom-light: #c172c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ca9",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 296.16,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.20653,
    "h": 325.2
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#A12CA9
secondary
#74C36E
accent
#E24650
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A12CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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