#A12E91#A12E91

#A12E91 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.186 H 334.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A12E91
RGBrgb(161, 46, 145)
HSLhsl(308, 56%, 41%)
HSVhsv(308, 71%, 63%)
CMYKcmyk(0%, 71.4%, 9.9%, 36.9%)
CIE-LABlab(40.54, 57.55, -29.59)
CIE-LCHlch(40.54, 64.71, 332.79°)
OKLaboklab(51.18% 0.167 -0.0809)
OKLCHoklch(51.18% 0.186 334.1)
XYZxyz(20.7859, 11.5772, 27.9224)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E91 #2EA13E
analogous
#772EA1 #A12E91 #A12E57
triadic
#A12E91 #91A12E #2E91A1
tetradic
#A12E91 #A1772E #2EA13E #2E57A1
square
#A12E91 #A1772E #2EA13E #2E57A1
split-complementary
#A12E91 #57A12E #2EA177
monochromatic
#42133B #712066 #A12E91 #C943B7 #D773C9

Accessibility & contrast

On white

6.33
#A12E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A12E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E91
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E91#FFFFFF#000000##FFFFFF
##A12E911.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5594
Deuteranopia (green-blind)
#55668E
Tritanopia (blue-blind)
#A9385C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12e91;
/* rgb */ color: rgb(161, 46, 145);
/* oklch */ color: oklch(51.2% 0.186 334.1);
Tailwind
colors: {
  custom: {
    50: '#c072b1',
    500: '#a12e91',
    950: '#000000',
  },
}
SCSS
$custom: #a12e91;
$custom-light: #c072b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e91",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 308.348,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.18559,
    "h": 334.1
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#A12E91
secondary
#6CBE78
accent
#DF5E49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A12E91

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

Preview Lab → · Contrast checker → · Palette generator →

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