#A12E94#A12E94

#A12E94 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.3% C 0.188 H 332.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A12E94
RGBrgb(161, 46, 148)
HSLhsl(307, 56%, 41%)
HSVhsv(307, 71%, 63%)
CMYKcmyk(0%, 71.4%, 8.1%, 36.9%)
CIE-LABlab(40.69, 58.02, -31.17)
CIE-LCHlch(40.69, 65.87, 331.75°)
OKLaboklab(51.34% 0.1673 -0.0855)
OKLCHoklch(51.34% 0.188 332.9)
XYZxyz(21.0203, 11.6709, 29.1568)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E94 #2EA13B
analogous
#752EA1 #A12E94 #A12E5A
triadic
#A12E94 #94A12E #2E94A1
tetradic
#A12E94 #A1752E #2EA13B #2E5AA1
square
#A12E94 #A1752E #2EA13B #2E5AA1
split-complementary
#A12E94 #5AA12E #2EA175
monochromatic
#42133C #712068 #A12E94 #C943BA #D773CC

Accessibility & contrast

On white

6.30
#A12E94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A12E94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E94
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E94#FFFFFF#000000##FFFFFF
##A12E941.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295597
Deuteranopia (green-blind)
#536691
Tritanopia (blue-blind)
#A8395D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12e94;
/* rgb */ color: rgb(161, 46, 148);
/* oklch */ color: oklch(51.3% 0.188 332.9);
Tailwind
colors: {
  custom: {
    50: '#c072b4',
    500: '#a12e94',
    950: '#000000',
  },
}
SCSS
$custom: #a12e94;
$custom-light: #c072b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e94",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 306.783,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51342,
    "c": 0.18784,
    "h": 332.9
  },
  "luminance": 0.11669
}

Semantic roles & 50–950 ramp

primary
#A12E94
secondary
#6CBE76
accent
#DF5A49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12E94

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

Preview Lab → · Contrast checker → · Palette generator →

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