#A12EA5#A12EA5

#A12EA5 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.201 H 326.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A12EA5
RGBrgb(161, 46, 165)
HSLhsl(298, 56%, 41%)
HSVhsv(298, 72%, 65%)
CMYKcmyk(2.4%, 72.1%, 0%, 35.3%)
CIE-LABlab(41.61, 60.83, -39.95)
CIE-LCHlch(41.61, 72.78, 326.71°)
OKLaboklab(52.3% 0.1678 -0.1109)
OKLCHoklch(52.3% 0.201 326.5)
XYZxyz(22.4661, 12.2492, 36.7710)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EA5 #32A52E
analogous
#662EA5 #A12EA5 #A52E6E
triadic
#A12EA5 #A5A12E #2EA5A1
tetradic
#A12EA5 #A5662E #32A52E #2E6EA5
square
#A12EA5 #A5662E #32A52E #2E6EA5
split-complementary
#A12EA5 #6EA52E #2EA566
monochromatic
#441345 #722175 #A12EA5 #C745CB #D575D8

Accessibility & contrast

On white

6.09
#A12EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A12EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EA5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EA5#FFFFFF#000000##FFFFFF
##A12EA51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A8
Deuteranopia (green-blind)
#4A67A2
Tritanopia (blue-blind)
#A54167
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12ea5;
/* rgb */ color: rgb(161, 46, 165);
/* oklch */ color: oklch(52.3% 0.201 326.5);
Tailwind
colors: {
  custom: {
    50: '#c072c0',
    500: '#a12ea5',
    950: '#000000',
  },
}
SCSS
$custom: #a12ea5;
$custom-light: #c072c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ea5",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 297.983,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.20112,
    "h": 326.5
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#A12EA5
secondary
#71C06F
accent
#E0484D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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