#A12CA5#A12CA5

#A12CA5 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.203 H 326.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A12CA5
RGBrgb(161, 44, 165)
HSLhsl(298, 58%, 41%)
HSVhsv(298, 73%, 65%)
CMYKcmyk(2.4%, 73.3%, 0%, 35.3%)
CIE-LABlab(41.37, 61.52, -40.33)
CIE-LCHlch(41.37, 73.56, 326.75°)
OKLaboklab(52.13% 0.1697 -0.112)
OKLCHoklch(52.13% 0.203 326.6)
XYZxyz(22.3898, 12.0966, 36.7456)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CA5 #30A52C
analogous
#642CA5 #A12CA5 #A52C6C
triadic
#A12CA5 #A5A12C #2CA5A1
tetradic
#A12CA5 #A5642C #30A52C #2C6CA5
square
#A12CA5 #A5642C #30A52C #2C6CA5
split-complementary
#A12CA5 #6CA52C #2CA564
monochromatic
#431244 #721F75 #A12CA5 #C842CD #D672D9

Accessibility & contrast

On white

6.14
#A12CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A12CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CA5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CA5#FFFFFF#000000##FFFFFF
##A12CA51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C58A8
Deuteranopia (green-blind)
#4967A2
Tritanopia (blue-blind)
#A54066
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12ca5;
/* rgb */ color: rgb(161, 44, 165);
/* oklch */ color: oklch(52.1% 0.203 326.6);
Tailwind
colors: {
  custom: {
    50: '#c071c0',
    500: '#a12ca5',
    950: '#000000',
  },
}
SCSS
$custom: #a12ca5;
$custom-light: #c071c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ca5",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 298.017,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.20333,
    "h": 326.6
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#A12CA5
secondary
#6FC16C
accent
#E1474C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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