#A12EA4#A12EA4

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

Color values

HEX#A12EA4
RGBrgb(161, 46, 164)
HSLhsl(298, 56%, 41%)
HSVhsv(298, 72%, 64%)
CMYKcmyk(1.8%, 72%, 0%, 35.7%)
CIE-LABlab(41.55, 60.66, -39.44)
CIE-LCHlch(41.55, 72.36, 326.97°)
OKLaboklab(52.24% 0.1678 -0.1094)
OKLCHoklch(52.24% 0.2 326.9)
XYZxyz(22.3754, 12.2129, 36.2936)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EA4 #31A42E
analogous
#662EA4 #A12EA4 #A42E6C
triadic
#A12EA4 #A4A12E #2EA4A1
tetradic
#A12EA4 #A4662E #31A42E #2E6CA4
square
#A12EA4 #A4662E #31A42E #2E6CA4
split-complementary
#A12EA4 #6CA42E #2EA466
monochromatic
#431344 #722174 #A12EA4 #C745CB #D674D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12EA4#FFFFFF#000000##FFFFFF
##A12EA41.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)
#1459A7
Deuteranopia (green-blind)
#4B67A1
Tritanopia (blue-blind)
#A64166
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12ea4;
/* rgb */ color: rgb(161, 46, 164);
/* oklch */ color: oklch(52.2% 0.200 326.9);
Tailwind
colors: {
  custom: {
    50: '#c072bf',
    500: '#a12ea4',
    950: '#000000',
  },
}
SCSS
$custom: #a12ea4;
$custom-light: #c072bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ea4",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 298.475,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.20032,
    "h": 326.9
  },
  "luminance": 0.12211
}

Semantic roles & 50–950 ramp

primary
#A12EA4
secondary
#70C06E
accent
#DF484C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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