#A12AC3#A12AC3

#A12AC3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.230 H 317.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A12AC3
RGBrgb(161, 42, 195)
HSLhsl(287, 65%, 46%)
HSVhsv(287, 78%, 76%)
CMYKcmyk(17.4%, 78.5%, 0%, 23.5%)
CIE-LABlab(43.02, 67.54, -55.39)
CIE-LCHlch(43.02, 87.34, 320.64°)
OKLaboklab(53.91% 0.1688 -0.156)
OKLCHoklch(53.91% 0.23 317.2)
XYZxyz(25.3748, 13.1742, 52.8254)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AC3 #4CC32A
analogous
#552AC3 #A12AC3 #C32A99
triadic
#A12AC3 #C3A12A #2AC3A1
tetradic
#A12AC3 #C3552A #4CC32A #2A99C3
square
#A12AC3 #C3552A #4CC32A #2A99C3
split-complementary
#A12AC3 #99C32A #2AC355
monochromatic
#4E145E #771F91 #A12AC3 #BB51D9 #CF83E4

Accessibility & contrast

On white

5.78
#A12AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A12AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AC3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AC3#FFFFFF#000000##FFFFFF
##A12AC31.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#9F4D77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12ac3;
/* rgb */ color: rgb(161, 42, 195);
/* oklch */ color: oklch(53.9% 0.230 317.2);
Tailwind
colors: {
  custom: {
    50: '#c172d6',
    500: '#a12ac3',
    950: '#000000',
  },
}
SCSS
$custom: #a12ac3;
$custom-light: #c172d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ac3",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 286.667,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53905,
    "c": 0.22982,
    "h": 317.2
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#A12AC3
secondary
#8ECD7B
accent
#E84065
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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