#A12E93#A12E93

#A12E93 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.187 H 333.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A12E93
RGBrgb(161, 46, 147)
HSLhsl(307, 56%, 41%)
HSVhsv(307, 71%, 63%)
CMYKcmyk(0%, 71.4%, 8.7%, 36.9%)
CIE-LABlab(40.64, 57.86, -30.65)
CIE-LCHlch(40.64, 65.48, 332.09°)
OKLaboklab(51.29% 0.1672 -0.084)
OKLCHoklch(51.29% 0.187 333.3)
XYZxyz(20.9415, 11.6394, 28.7418)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E93 #2EA13C
analogous
#752EA1 #A12E93 #A12E5A
triadic
#A12E93 #93A12E #2E93A1
tetradic
#A12E93 #A1752E #2EA13C #2E5AA1
square
#A12E93 #A1752E #2EA13C #2E5AA1
split-complementary
#A12E93 #5AA12E #2EA175
monochromatic
#42133C #712068 #A12E93 #C943B9 #D773CB

Accessibility & contrast

On white

6.31
#A12E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12E93
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E93#FFFFFF#000000##FFFFFF
##A12E931.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5596
Deuteranopia (green-blind)
#546690
Tritanopia (blue-blind)
#A8395D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12e93;
/* rgb */ color: rgb(161, 46, 147);
/* oklch */ color: oklch(51.3% 0.187 333.3);
Tailwind
colors: {
  custom: {
    50: '#c072b3',
    500: '#a12e93',
    950: '#000000',
  },
}
SCSS
$custom: #a12e93;
$custom-light: #c072b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e93",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 307.304,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51289,
    "c": 0.18708,
    "h": 333.3
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12E93

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

Preview Lab → · Contrast checker → · Palette generator →

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