#A12697#A12697

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

Color values

HEX#A12697
RGBrgb(161, 38, 151)
HSLhsl(305, 62%, 39%)
HSVhsv(305, 76%, 63%)
CMYKcmyk(0%, 76.4%, 6.2%, 36.9%)
CIE-LABlab(39.91, 61.15, -34.21)
CIE-LCHlch(39.91, 70.07, 330.77°)
OKLaboklab(50.84% 0.1751 -0.0942)
OKLCHoklch(50.84% 0.199 331.7)
XYZxyz(20.9770, 11.1994, 30.3290)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12697 #26A130
analogous
#6E26A1 #A12697 #A1265A
triadic
#A12697 #97A126 #2697A1
tetradic
#A12697 #A16E26 #26A130 #265AA1
square
#A12697 #A16E26 #26A130 #265AA1
split-complementary
#A12697 #5AA126 #26A16E
monochromatic
#3E0F3A #6F1A69 #A12697 #CF35C3 #DB66D2

Accessibility & contrast

On white

6.48
#A12697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A12697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12697
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12697#FFFFFF#000000##FFFFFF
##A126971.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12697;
/* rgb */ color: rgb(161, 38, 151);
/* oklch */ color: oklch(50.8% 0.199 331.7);
Tailwind
colors: {
  custom: {
    50: '#c16eb6',
    500: '#a12697',
    950: '#000000',
  },
}
SCSS
$custom: #a12697;
$custom-light: #c16eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12697",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 304.878,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50837,
    "c": 0.19886,
    "h": 331.7
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#A12697
secondary
#62C16A
accent
#E55043
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12697

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

Preview Lab → · Contrast checker → · Palette generator →

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