#A51696#A51696

#A51696 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.213 H 333.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A51696
RGBrgb(165, 22, 150)
HSLhsl(306, 76%, 37%)
HSVhsv(306, 87%, 65%)
CMYKcmyk(0%, 86.7%, 9.1%, 35.3%)
CIE-LABlab(39.20, 65.81, -34.68)
CIE-LCHlch(39.20, 74.39, 332.21°)
OKLaboklab(50.44% 0.1907 -0.0954)
OKLCHoklch(50.44% 0.213 333.4)
XYZxyz(21.3092, 10.7771, 29.8062)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51696 #16A525
analogous
#6D16A5 #A51696 #A5164E
triadic
#A51696 #96A516 #1696A5
tetradic
#A51696 #A56D16 #16A525 #164EA5
square
#A51696 #A56D16 #16A525 #164EA5
split-complementary
#A51696 #4EA516 #16A56D
monochromatic
#390834 #6F0F65 #A51696 #DB1DC7 #E74ED7

Accessibility & contrast

On white

6.66
#A51696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A51696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51696
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51696#FFFFFF#000000##FFFFFF
##A516961.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5099
Deuteranopia (green-blind)
#4E6393
Tritanopia (blue-blind)
#AD2A59
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a51696;
/* rgb */ color: rgb(165, 22, 150);
/* oklch */ color: oklch(50.4% 0.213 333.4);
Tailwind
colors: {
  custom: {
    50: '#c46ab5',
    500: '#a51696',
    950: '#000000',
  },
}
SCSS
$custom: #a51696;
$custom-light: #c46ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#a51696",
  "rgb": {
    "r": 165,
    "g": 22,
    "b": 150
  },
  "hsl": {
    "h": 306.294,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.50445,
    "c": 0.21321,
    "h": 333.4
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#A51696
secondary
#4EC95B
accent
#F34935
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #A51696

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

Preview Lab → · Contrast checker → · Palette generator →

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