#A12597#A12597

#A12597 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.8% C 0.200 H 331.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A12597
RGBrgb(161, 37, 151)
HSLhsl(305, 63%, 39%)
HSVhsv(305, 77%, 63%)
CMYKcmyk(0%, 77%, 6.2%, 36.9%)
CIE-LABlab(39.81, 61.45, -34.38)
CIE-LCHlch(39.81, 70.42, 330.78°)
OKLaboklab(50.76% 0.176 -0.0947)
OKLCHoklch(50.76% 0.2 331.7)
XYZxyz(20.9455, 11.1363, 30.3185)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12597 #25A12F
analogous
#6D25A1 #A12597 #A12559
triadic
#A12597 #97A125 #2597A1
tetradic
#A12597 #A16D25 #25A12F #2559A1
square
#A12597 #A16D25 #25A12F #2559A1
split-complementary
#A12597 #59A125 #25A16D
monochromatic
#3D0E3A #6F1A68 #A12597 #D033C3 #DC65D2

Accessibility & contrast

On white

6.51
#A12597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A12597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12597
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12597#FFFFFF#000000##FFFFFF
##A125971.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539A
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#A8345D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12597;
/* rgb */ color: rgb(161, 37, 151);
/* oklch */ color: oklch(50.8% 0.200 331.7);
Tailwind
colors: {
  custom: {
    50: '#c16eb6',
    500: '#a12597',
    950: '#000000',
  },
}
SCSS
$custom: #a12597;
$custom-light: #c16eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12597",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 304.839,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50762,
    "c": 0.19986,
    "h": 331.7
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#A12597
secondary
#61C168
accent
#E64F42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12597

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

Preview Lab → · Contrast checker → · Palette generator →

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