#A12CAF#A12CAF

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

Color values

HEX#A12CAF
RGBrgb(161, 44, 175)
HSLhsl(294, 60%, 43%)
HSVhsv(294, 75%, 69%)
CMYKcmyk(8%, 74.9%, 0%, 31.4%)
CIE-LABlab(41.96, 63.25, -45.34)
CIE-LCHlch(41.96, 77.83, 324.37°)
OKLaboklab(52.74% 0.1693 -0.1266)
OKLCHoklch(52.74% 0.211 323.2)
XYZxyz(23.3358, 12.4750, 41.7279)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CAF #3AAF2C
analogous
#602CAF #A12CAF #AF2C7B
triadic
#A12CAF #AFA12C #2CAFA1
tetradic
#A12CAF #AF602C #3AAF2C #2C7BAF
square
#A12CAF #AF602C #3AAF2C #2C7BAF
split-complementary
#A12CAF #7BAF2C #2CAF60
monochromatic
#47134D #74207E #A12CAF #C247D1 #D278DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12CAF#FFFFFF#000000##FFFFFF
##A12CAF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#4268AC
Tritanopia (blue-blind)
#A4456C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12caf;
/* rgb */ color: rgb(161, 44, 175);
/* oklch */ color: oklch(52.7% 0.211 323.2);
Tailwind
colors: {
  custom: {
    50: '#c172c7',
    500: '#a12caf',
    950: '#000000',
  },
}
SCSS
$custom: #a12caf;
$custom-light: #c172c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12caf",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 293.588,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.21139,
    "h": 323.2
  },
  "luminance": 0.12474
}

Semantic roles & 50–950 ramp

primary
#A12CAF
secondary
#7BC572
accent
#E34556
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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