#A12DA9#A12DA9

#A12DA9 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.205 H 325.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A12DA9
RGBrgb(161, 45, 169)
HSLhsl(296, 58%, 42%)
HSVhsv(296, 73%, 66%)
CMYKcmyk(4.7%, 73.4%, 0%, 33.7%)
CIE-LABlab(41.72, 61.87, -42.16)
CIE-LCHlch(41.72, 74.87, 325.73°)
OKLaboklab(52.46% 0.1687 -0.1173)
OKLCHoklch(52.46% 0.205 325.2)
XYZxyz(22.7972, 12.3199, 38.7056)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DA9 #35A92D
analogous
#632DA9 #A12DA9 #A92D73
triadic
#A12DA9 #A9A12D #2DA9A1
tetradic
#A12DA9 #A9632D #35A92D #2D73A9
square
#A12DA9 #A9632D #35A92D #2D73A9
split-complementary
#A12DA9 #73A92D #2DA963
monochromatic
#451348 #732079 #A12DA9 #C546CE #D476DA

Accessibility & contrast

On white

6.06
#A12DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A12DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12DA9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DA9#FFFFFF#000000##FFFFFF
##A12DA91.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12da9;
/* rgb */ color: rgb(161, 45, 169);
/* oklch */ color: oklch(52.5% 0.205 325.2);
Tailwind
colors: {
  custom: {
    50: '#c072c3',
    500: '#a12da9',
    950: '#000000',
  },
}
SCSS
$custom: #a12da9;
$custom-light: #c072c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12da9",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 296.129,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.20545,
    "h": 325.2
  },
  "luminance": 0.12318
}

Semantic roles & 50–950 ramp

primary
#A12DA9
secondary
#75C26F
accent
#E14751
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A12DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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