#A12497#A12497

#A12497 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.201 H 331.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A12497
RGBrgb(161, 36, 151)
HSLhsl(305, 63%, 39%)
HSVhsv(305, 78%, 63%)
CMYKcmyk(0%, 77.6%, 6.2%, 36.9%)
CIE-LABlab(39.71, 61.75, -34.54)
CIE-LCHlch(39.71, 70.75, 330.78°)
OKLaboklab(50.69% 0.1769 -0.0951)
OKLCHoklch(50.69% 0.201 331.7)
XYZxyz(20.9148, 11.0749, 30.3083)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12497 #24A12E
analogous
#6C24A1 #A12497 #A12458
triadic
#A12497 #97A124 #2497A1
tetradic
#A12497 #A16C24 #24A12E #2458A1
square
#A12497 #A16C24 #24A12E #2458A1
split-complementary
#A12497 #58A124 #24A16C
monochromatic
#3D0E39 #6F1968 #A12497 #D131C4 #DC63D2

Accessibility & contrast

On white

6.53
#A12497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A12497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12497
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12497#FFFFFF#000000##FFFFFF
##A124971.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19529A
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#A8345C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12497;
/* rgb */ color: rgb(161, 36, 151);
/* oklch */ color: oklch(50.7% 0.201 331.7);
Tailwind
colors: {
  custom: {
    50: '#c16eb6',
    500: '#a12497',
    950: '#000000',
  },
}
SCSS
$custom: #a12497;
$custom-light: #c16eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12497",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 304.8,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50689,
    "c": 0.20083,
    "h": 331.7
  },
  "luminance": 0.11073
}

Semantic roles & 50–950 ramp

primary
#A12497
secondary
#5FC267
accent
#E64F41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12497

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

Preview Lab → · Contrast checker → · Palette generator →

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