#A12EAB#A12EAB

#A12EAB is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.206 H 324.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A12EAB
RGBrgb(161, 46, 171)
HSLhsl(295, 58%, 43%)
HSVhsv(295, 73%, 67%)
CMYKcmyk(5.8%, 73.1%, 0%, 32.9%)
CIE-LABlab(41.96, 61.87, -42.97)
CIE-LCHlch(41.96, 75.33, 325.22°)
OKLaboklab(52.66% 0.1676 -0.1197)
OKLCHoklch(52.66% 0.206 324.5)
XYZxyz(23.0250, 12.4728, 39.7149)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EAB #38AB2E
analogous
#622EAB #A12EAB #AB2E76
triadic
#A12EAB #ABA12E #2EABA1
tetradic
#A12EAB #AB622E #38AB2E #2E76AB
square
#A12EAB #AB622E #38AB2E #2E76AB
split-complementary
#A12EAB #76AB2E #2EAB62
monochromatic
#46144B #74217B #A12EAB #C348CE #D379DB

Accessibility & contrast

On white

6.01
#A12EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A12EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EAB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EAB#FFFFFF#000000##FFFFFF
##A12EAB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4668A8
Tritanopia (blue-blind)
#A4446A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12eab;
/* rgb */ color: rgb(161, 46, 171);
/* oklch */ color: oklch(52.7% 0.206 324.5);
Tailwind
colors: {
  custom: {
    50: '#c073c4',
    500: '#a12eab',
    950: '#000000',
  },
}
SCSS
$custom: #a12eab;
$custom-light: #c073c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12eab",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 295.2,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52664,
    "c": 0.20599,
    "h": 324.5
  },
  "luminance": 0.12471
}

Semantic roles & 50–950 ramp

primary
#A12EAB
secondary
#78C372
accent
#E14753
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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