#A12A97#A12A97

#A12A97 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.195 H 331.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A12A97
RGBrgb(161, 42, 151)
HSLhsl(305, 59%, 40%)
HSVhsv(305, 74%, 63%)
CMYKcmyk(0%, 73.9%, 6.2%, 36.9%)
CIE-LABlab(40.36, 59.88, -33.51)
CIE-LCHlch(40.36, 68.62, 330.77°)
OKLaboklab(51.16% 0.1714 -0.0922)
OKLCHoklch(51.16% 0.195 331.7)
XYZxyz(21.1118, 11.4691, 30.3740)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A97 #2AA134
analogous
#702AA1 #A12A97 #A12A5C
triadic
#A12A97 #97A12A #2A97A1
tetradic
#A12A97 #A1702A #2AA134 #2A5CA1
square
#A12A97 #A1702A #2AA134 #2A5CA1
split-complementary
#A12A97 #5CA12A #2AA170
monochromatic
#40113C #701D69 #A12A97 #CC3CC0 #D96DD0

Accessibility & contrast

On white

6.38
#A12A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A12A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A97
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A97#FFFFFF#000000##FFFFFF
##A12A971.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#A8385E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12a97;
/* rgb */ color: rgb(161, 42, 151);
/* oklch */ color: oklch(51.2% 0.195 331.7);
Tailwind
colors: {
  custom: {
    50: '#c070b6',
    500: '#a12a97',
    950: '#000000',
  },
}
SCSS
$custom: #a12a97;
$custom-light: #c070b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a97",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 305.042,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51157,
    "c": 0.19465,
    "h": 331.7
  },
  "luminance": 0.11467
}

Semantic roles & 50–950 ramp

primary
#A12A97
secondary
#67C06F
accent
#E25346
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12A97

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

Preview Lab → · Contrast checker → · Palette generator →

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