#A12E97#A12E97

#A12E97 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.190 H 331.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A12E97
RGBrgb(161, 46, 151)
HSLhsl(305, 56%, 41%)
HSVhsv(305, 71%, 63%)
CMYKcmyk(0%, 71.4%, 6.2%, 36.9%)
CIE-LABlab(40.84, 58.50, -32.75)
CIE-LCHlch(40.84, 67.04, 330.76°)
OKLaboklab(51.51% 0.1674 -0.09)
OKLCHoklch(51.51% 0.19 331.7)
XYZxyz(21.2609, 11.7671, 30.4237)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E97 #2EA138
analogous
#712EA1 #A12E97 #A12E5E
triadic
#A12E97 #97A12E #2E97A1
tetradic
#A12E97 #A1712E #2EA138 #2E5EA1
square
#A12E97 #A1712E #2EA138 #2E5EA1
split-complementary
#A12E97 #5EA12E #2EA171
monochromatic
#42133E #71206A #A12E97 #C943BE #D773CE

Accessibility & contrast

On white

6.26
#A12E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A12E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E97
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E97#FFFFFF#000000##FFFFFF
##A12E971.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#526694
Tritanopia (blue-blind)
#A83B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12e97;
/* rgb */ color: rgb(161, 46, 151);
/* oklch */ color: oklch(51.5% 0.190 331.7);
Tailwind
colors: {
  custom: {
    50: '#c072b6',
    500: '#a12e97',
    950: '#000000',
  },
}
SCSS
$custom: #a12e97;
$custom-light: #c072b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e97",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 305.217,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51505,
    "c": 0.19011,
    "h": 331.7
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#A12E97
secondary
#6CBE73
accent
#DF5649
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A12E97

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

Preview Lab → · Contrast checker → · Palette generator →

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