#A12894#A12894

#A12894 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.195 H 332.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A12894
RGBrgb(161, 40, 148)
HSLhsl(306, 60%, 39%)
HSVhsv(306, 75%, 63%)
CMYKcmyk(0%, 75.2%, 8.1%, 36.9%)
CIE-LABlab(39.97, 60.06, -32.30)
CIE-LCHlch(39.97, 68.19, 331.73°)
OKLaboklab(50.83% 0.1732 -0.0887)
OKLCHoklch(50.83% 0.195 332.9)
XYZxyz(20.8021, 11.2345, 29.0841)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12894 #28A135
analogous
#7228A1 #A12894 #A12858
triadic
#A12894 #94A128 #2894A1
tetradic
#A12894 #A17228 #28A135 #2858A1
square
#A12894 #A17228 #28A135 #2858A1
split-complementary
#A12894 #58A128 #28A172
monochromatic
#3F103A #701C67 #A12894 #CE39BE #DA6ACE

Accessibility & contrast

On white

6.47
#A12894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A12894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12894
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12894#FFFFFF#000000##FFFFFF
##A128941.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225397
Deuteranopia (green-blind)
#516491
Tritanopia (blue-blind)
#A8355C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12894;
/* rgb */ color: rgb(161, 40, 148);
/* oklch */ color: oklch(50.8% 0.195 332.9);
Tailwind
colors: {
  custom: {
    50: '#c06fb4',
    500: '#a12894',
    950: '#000000',
  },
}
SCSS
$custom: #a12894;
$custom-light: #c06fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12894",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 306.446,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.19458,
    "h": 332.9
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#A12894
secondary
#65C06E
accent
#E35644
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12894

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

Preview Lab → · Contrast checker → · Palette generator →

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