#A12CC3#A12CC3

#A12CC3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.228 H 317.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A12CC3
RGBrgb(161, 44, 195)
HSLhsl(286, 63%, 47%)
HSVhsv(286, 77%, 76%)
CMYKcmyk(17.4%, 77.4%, 0%, 23.5%)
CIE-LABlab(43.24, 66.91, -55.04)
CIE-LCHlch(43.24, 86.64, 320.56°)
OKLaboklab(54.06% 0.1672 -0.155)
OKLCHoklch(54.06% 0.228 317.2)
XYZxyz(25.4475, 13.3197, 52.8497)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CC3 #4EC32C
analogous
#562CC3 #A12CC3 #C32C9A
triadic
#A12CC3 #C3A12C #2CC3A1
tetradic
#A12CC3 #C3562C #4EC32C #2C9AC3
square
#A12CC3 #C3562C #4EC32C #2C9AC3
split-complementary
#A12CC3 #9AC32C #2CC356
monochromatic
#4F155F #782191 #A12CC3 #BB54D8 #CF86E4

Accessibility & contrast

On white

5.73
#A12CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A12CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CC3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CC3#FFFFFF#000000##FFFFFF
##A12CC31.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2F69C0
Tritanopia (blue-blind)
#9F4E77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12cc3;
/* rgb */ color: rgb(161, 44, 195);
/* oklch */ color: oklch(54.1% 0.228 317.2);
Tailwind
colors: {
  custom: {
    50: '#c173d6',
    500: '#a12cc3',
    950: '#000000',
  },
}
SCSS
$custom: #a12cc3;
$custom-light: #c173d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cc3",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 286.49,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.22796,
    "h": 317.2
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#A12CC3
secondary
#90CD7E
accent
#E64267
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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