#A12CA1#A12CA1

#A12CA1 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 51.9% C 0.200 H 328.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A12CA1
RGBrgb(161, 44, 161)
HSLhsl(300, 57%, 40%)
HSVhsv(300, 73%, 63%)
CMYKcmyk(0%, 72.7%, 0%, 36.9%)
CIE-LABlab(41.14, 60.84, -38.30)
CIE-LCHlch(41.14, 71.89, 327.81°)
OKLaboklab(51.9% 0.1697 -0.1061)
OKLCHoklch(51.9% 0.2 328)
XYZxyz(22.0314, 11.9532, 34.8581)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CA1 #2CA12C
analogous
#662CA1 #A12CA1 #A12C66
triadic
#A12CA1 #A1A12C #2CA1A1
tetradic
#A12CA1 #A1662C #2CA12C #2C66A1
square
#A12CA1 #A1662C #2CA12C #2C66A1
split-complementary
#A12CA1 #66A12C #2CA166
monochromatic
#411241 #711F71 #A12CA1 #CB40CB #D870D8

Accessibility & contrast

On white

6.19
#A12CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A12CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CA1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CA1#FFFFFF#000000##FFFFFF
##A12CA11.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A4
Deuteranopia (green-blind)
#4C669E
Tritanopia (blue-blind)
#A63E64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12ca1;
/* rgb */ color: rgb(161, 44, 161);
/* oklch */ color: oklch(51.9% 0.200 328.0);
Tailwind
colors: {
  custom: {
    50: '#c071bd',
    500: '#a12ca1',
    950: '#000000',
  },
}
SCSS
$custom: #a12ca1;
$custom-light: #c071bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ca1",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 300,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.20016,
    "h": 328
  },
  "luminance": 0.11952
}

Semantic roles & 50–950 ramp

primary
#A12CA1
secondary
#6ABF6A
accent
#E04747
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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