#A12CA0#A12CA0

#A12CA0 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.199 H 328.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A12CA0
RGBrgb(161, 44, 160)
HSLhsl(301, 57%, 40%)
HSVhsv(301, 73%, 63%)
CMYKcmyk(0%, 72.7%, 0.6%, 36.9%)
CIE-LABlab(41.09, 60.67, -37.79)
CIE-LCHlch(41.09, 71.48, 328.09°)
OKLaboklab(51.84% 0.1697 -0.1046)
OKLCHoklch(51.84% 0.199 328.4)
XYZxyz(21.9435, 11.9181, 34.3956)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CA0 #2CA12D
analogous
#682CA1 #A12CA0 #A12C65
triadic
#A12CA0 #A0A12C #2CA0A1
tetradic
#A12CA0 #A1682C #2CA12D #2C65A1
square
#A12CA0 #A1682C #2CA12D #2C65A1
split-complementary
#A12CA0 #65A12C #2CA168
monochromatic
#411240 #711F70 #A12CA0 #CB40C9 #D870D7

Accessibility & contrast

On white

6.21
#A12CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A12CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CA0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CA0#FFFFFF#000000##FFFFFF
##A12CA01.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1757A3
Deuteranopia (green-blind)
#4C669D
Tritanopia (blue-blind)
#A63D63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12ca0;
/* rgb */ color: rgb(161, 44, 160);
/* oklch */ color: oklch(51.8% 0.199 328.4);
Tailwind
colors: {
  custom: {
    50: '#c071bc',
    500: '#a12ca0',
    950: '#000000',
  },
}
SCSS
$custom: #a12ca0;
$custom-light: #c071bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ca0",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 300.513,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51836,
    "c": 0.19937,
    "h": 328.4
  },
  "luminance": 0.11916
}

Semantic roles & 50–950 ramp

primary
#A12CA0
secondary
#6ABF6B
accent
#E04947
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A12CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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