#A12E99#A12E99

#A12E99 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.192 H 331.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A12E99
RGBrgb(161, 46, 153)
HSLhsl(304, 56%, 41%)
HSVhsv(304, 71%, 63%)
CMYKcmyk(0%, 71.4%, 5%, 36.9%)
CIE-LABlab(40.95, 58.83, -33.79)
CIE-LCHlch(40.95, 67.84, 330.13°)
OKLaboklab(51.62% 0.1676 -0.093)
OKLCHoklch(51.62% 0.192 331)
XYZxyz(21.4247, 11.8326, 31.2863)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E99 #2EA136
analogous
#6F2EA1 #A12E99 #A12E5F
triadic
#A12E99 #99A12E #2E99A1
tetradic
#A12E99 #A16F2E #2EA136 #2E5FA1
square
#A12E99 #A16F2E #2EA136 #2E5FA1
split-complementary
#A12E99 #5FA12E #2EA16F
monochromatic
#42133F #71206C #A12E99 #C943C0 #D773D0

Accessibility & contrast

On white

6.24
#A12E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A12E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E99
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E99#FFFFFF#000000##FFFFFF
##A12E991.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569C
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#A73C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12e99;
/* rgb */ color: rgb(161, 46, 153);
/* oklch */ color: oklch(51.6% 0.192 331.0);
Tailwind
colors: {
  custom: {
    50: '#c072b7',
    500: '#a12e99',
    950: '#000000',
  },
}
SCSS
$custom: #a12e99;
$custom-light: #c072b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e99",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 304.174,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.19165,
    "h": 331
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#A12E99
secondary
#6CBE72
accent
#DF5349
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A12E99

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

Preview Lab → · Contrast checker → · Palette generator →

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