#A12DAC#A12DAC

#A12DAC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.208 H 324.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A12DAC
RGBrgb(161, 45, 172)
HSLhsl(295, 59%, 43%)
HSVhsv(295, 74%, 67%)
CMYKcmyk(6.4%, 73.8%, 0%, 32.5%)
CIE-LABlab(41.90, 62.39, -43.66)
CIE-LCHlch(41.90, 76.15, 325.01°)
OKLaboklab(52.64% 0.1685 -0.1217)
OKLCHoklch(52.64% 0.208 324.2)
XYZxyz(23.0821, 12.4338, 40.2059)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DAC #38AC2D
analogous
#612DAC #A12DAC #AC2D78
triadic
#A12DAC #ACA12D #2DACA1
tetradic
#A12DAC #AC612D #38AC2D #2D78AC
square
#A12DAC #AC612D #38AC2D #2D78AC
split-complementary
#A12DAC #78AC2D #2DAC61
monochromatic
#46144B #74207B #A12DAC #C347CF #D378DC

Accessibility & contrast

On white

6.02
#A12DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A12DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12DAC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DAC#FFFFFF#000000##FFFFFF
##A12DAC1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4568A9
Tritanopia (blue-blind)
#A4446A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12dac;
/* rgb */ color: rgb(161, 45, 172);
/* oklch */ color: oklch(52.6% 0.208 324.2);
Tailwind
colors: {
  custom: {
    50: '#c172c5',
    500: '#a12dac',
    950: '#000000',
  },
}
SCSS
$custom: #a12dac;
$custom-light: #c172c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12dac",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 294.803,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5264,
    "c": 0.20788,
    "h": 324.2
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#A12DAC
secondary
#78C471
accent
#E24654
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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