#A12CC4#A12CC4

#A12CC4 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.229 H 316.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A12CC4
RGBrgb(161, 44, 196)
HSLhsl(286, 63%, 47%)
HSVhsv(286, 78%, 77%)
CMYKcmyk(17.9%, 77.6%, 0%, 23.1%)
CIE-LABlab(43.31, 67.10, -55.51)
CIE-LCHlch(43.31, 87.08, 320.40°)
OKLaboklab(54.13% 0.167 -0.1564)
OKLCHoklch(54.13% 0.229 316.9)
XYZxyz(25.5609, 13.3651, 53.4471)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CC4 #4FC42C
analogous
#552CC4 #A12CC4 #C42C9B
triadic
#A12CC4 #C4A12C #2CC4A1
tetradic
#A12CC4 #C4552C #4FC42C #2C9BC4
square
#A12CC4 #C4552C #4FC42C #2C9BC4
split-complementary
#A12CC4 #9BC42C #2CC455
monochromatic
#4F1660 #782192 #A12CC4 #BA54D9 #CE86E4

Accessibility & contrast

On white

5.72
#A12CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A12CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CC4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CC4#FFFFFF#000000##FFFFFF
##A12CC41.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2D6AC1
Tritanopia (blue-blind)
#9F4E78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12cc4;
/* rgb */ color: rgb(161, 44, 196);
/* oklch */ color: oklch(54.1% 0.229 316.9);
Tailwind
colors: {
  custom: {
    50: '#c173d7',
    500: '#a12cc4',
    950: '#000000',
  },
}
SCSS
$custom: #a12cc4;
$custom-light: #c173d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cc4",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 196
  },
  "hsl": {
    "h": 286.184,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.2288,
    "h": 316.9
  },
  "luminance": 0.13364
}

Semantic roles & 50–950 ramp

primary
#A12CC4
secondary
#91CD7E
accent
#E64167
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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