#A12EA9#A12EA9

#A12EA9 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.204 H 325.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A12EA9
RGBrgb(161, 46, 169)
HSLhsl(296, 57%, 42%)
HSVhsv(296, 73%, 66%)
CMYKcmyk(4.7%, 72.8%, 0%, 33.7%)
CIE-LABlab(41.84, 61.52, -41.97)
CIE-LCHlch(41.84, 74.47, 325.70°)
OKLaboklab(52.54% 0.1677 -0.1168)
OKLCHoklch(52.54% 0.204 325.1)
XYZxyz(22.8358, 12.3971, 38.7185)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EA9 #36A92E
analogous
#642EA9 #A12EA9 #A92E73
triadic
#A12EA9 #A9A12E #2EA9A1
tetradic
#A12EA9 #A9642E #36A92E #2E73A9
square
#A12EA9 #A9642E #36A92E #2E73A9
split-complementary
#A12EA9 #73A92E #2EA964
monochromatic
#451449 #732179 #A12EA9 #C447CD #D477DA

Accessibility & contrast

On white

6.04
#A12EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A12EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EA9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EA9#FFFFFF#000000##FFFFFF
##A12EA91.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065AAC
Deuteranopia (green-blind)
#4867A6
Tritanopia (blue-blind)
#A54369
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12ea9;
/* rgb */ color: rgb(161, 46, 169);
/* oklch */ color: oklch(52.5% 0.204 325.1);
Tailwind
colors: {
  custom: {
    50: '#c072c3',
    500: '#a12ea9',
    950: '#000000',
  },
}
SCSS
$custom: #a12ea9;
$custom-light: #c072c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ea9",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 296.098,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.20435,
    "h": 325.1
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#A12EA9
secondary
#76C271
accent
#E04751
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A12EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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