#A12FAE#A12FAE

#A12FAE is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.207 H 323.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A12FAE
RGBrgb(161, 47, 174)
HSLhsl(294, 57%, 43%)
HSVhsv(294, 73%, 68%)
CMYKcmyk(7.5%, 73%, 0%, 31.8%)
CIE-LABlab(42.26, 62.06, -44.27)
CIE-LCHlch(42.26, 76.23, 324.49°)
OKLaboklab(52.94% 0.1666 -0.1235)
OKLCHoklch(52.94% 0.207 323.4)
XYZxyz(23.3537, 12.6675, 41.2512)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FAE #3CAE2F
analogous
#612FAE #A12FAE #AE2F7B
triadic
#A12FAE #AEA12F #2FAEA1
tetradic
#A12FAE #AE612F #3CAE2F #2F7BAE
square
#A12FAE #AE612F #3CAE2F #2F7BAE
split-complementary
#A12FAE #7BAE2F #2FAE61
monochromatic
#48154E #74227E #A12FAE #C14CCF #D27CDC

Accessibility & contrast

On white

5.94
#A12FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A12FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FAE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FAE#FFFFFF#000000##FFFFFF
##A12FAE1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4568AB
Tritanopia (blue-blind)
#A4466C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12fae;
/* rgb */ color: rgb(161, 47, 174);
/* oklch */ color: oklch(52.9% 0.207 323.4);
Tailwind
colors: {
  custom: {
    50: '#c173c7',
    500: '#a12fae',
    950: '#000000',
  },
}
SCSS
$custom: #a12fae;
$custom-light: #c173c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fae",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 293.858,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52935,
    "c": 0.20735,
    "h": 323.4
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#A12FAE
secondary
#7DC475
accent
#E14757
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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