#A12E98#A12E98

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

Color values

HEX#A12E98
RGBrgb(161, 46, 152)
HSLhsl(305, 56%, 41%)
HSVhsv(305, 71%, 63%)
CMYKcmyk(0%, 71.4%, 5.6%, 36.9%)
CIE-LABlab(40.90, 58.66, -33.27)
CIE-LCHlch(40.90, 67.44, 330.44°)
OKLaboklab(51.56% 0.1675 -0.0915)
OKLCHoklch(51.56% 0.191 331.3)
XYZxyz(21.3424, 11.7997, 30.8532)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E98 #2EA137
analogous
#712EA1 #A12E98 #A12E5E
triadic
#A12E98 #98A12E #2E98A1
tetradic
#A12E98 #A1712E #2EA137 #2E5EA1
square
#A12E98 #A1712E #2EA137 #2E5EA1
split-complementary
#A12E98 #5EA12E #2EA171
monochromatic
#42133E #71206B #A12E98 #C943BF #D773CF

Accessibility & contrast

On white

6.25
#A12E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A12E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E98
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E98#FFFFFF#000000##FFFFFF
##A12E981.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569B
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#A83B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12e98;
/* rgb */ color: rgb(161, 46, 152);
/* oklch */ color: oklch(51.6% 0.191 331.3);
Tailwind
colors: {
  custom: {
    50: '#c072b7',
    500: '#a12e98',
    950: '#000000',
  },
}
SCSS
$custom: #a12e98;
$custom-light: #c072b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e98",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 304.696,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5156,
    "c": 0.19088,
    "h": 331.3
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12E98

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

Preview Lab → · Contrast checker → · Palette generator →

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