#A12CA8#A12CA8

#A12CA8 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.206 H 325.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A12CA8
RGBrgb(161, 44, 168)
HSLhsl(297, 58%, 42%)
HSVhsv(297, 74%, 66%)
CMYKcmyk(4.2%, 73.8%, 0%, 34.1%)
CIE-LABlab(41.54, 62.03, -41.85)
CIE-LCHlch(41.54, 74.83, 326.00°)
OKLaboklab(52.31% 0.1696 -0.1164)
OKLCHoklch(52.31% 0.206 325.5)
XYZxyz(22.6660, 12.2071, 38.2006)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CA8 #33A82C
analogous
#632CA8 #A12CA8 #A82C71
triadic
#A12CA8 #A8A12C #2CA8A1
tetradic
#A12CA8 #A8632C #33A82C #2C71A8
square
#A12CA8 #A8632C #33A82C #2C71A8
split-complementary
#A12CA8 #71A82C #2CA863
monochromatic
#441347 #731F78 #A12CA8 #C643CE #D574DB

Accessibility & contrast

On white

6.10
#A12CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A12CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CA8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CA8#FFFFFF#000000##FFFFFF
##A12CA81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0259AB
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#A54168
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12ca8;
/* rgb */ color: rgb(161, 44, 168);
/* oklch */ color: oklch(52.3% 0.206 325.5);
Tailwind
colors: {
  custom: {
    50: '#c072c2',
    500: '#a12ca8',
    950: '#000000',
  },
}
SCSS
$custom: #a12ca8;
$custom-light: #c072c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ca8",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 296.613,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52311,
    "c": 0.20572,
    "h": 325.5
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

primary
#A12CA8
secondary
#72C26E
accent
#E2464F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A12CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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