#A11796#A11796

#A11796 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.211 H 332.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A11796
RGBrgb(161, 23, 150)
HSLhsl(305, 75%, 36%)
HSVhsv(305, 86%, 63%)
CMYKcmyk(0%, 85.7%, 6.8%, 36.9%)
CIE-LABlab(38.54, 64.81, -35.78)
CIE-LCHlch(38.54, 74.03, 331.10°)
OKLaboklab(49.84% 0.1862 -0.0986)
OKLCHoklch(49.84% 0.211 332.1)
XYZxyz(20.5094, 10.3937, 29.7743)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A11796 #17A122
analogous
#6717A1 #A11796 #A11751
triadic
#A11796 #96A117 #1796A1
tetradic
#A11796 #A16717 #17A122 #1751A1
square
#A11796 #A16717 #17A122 #1751A1
split-complementary
#A11796 #51A117 #17A167
monochromatic
#360832 #6B0F64 #A11796 #D71FC8 #E64DD9

Accessibility & contrast

On white

6.82
#A11796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A11796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A11796
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A11796#FFFFFF#000000##FFFFFF
##A117961.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034F99
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#A82C59
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a11796;
/* rgb */ color: rgb(161, 23, 150);
/* oklch */ color: oklch(49.8% 0.211 332.1);
Tailwind
colors: {
  custom: {
    50: '#c16ab5',
    500: '#a11796',
    950: '#000000',
  },
}
SCSS
$custom: #a11796;
$custom-light: #c16ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#a11796",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 304.783,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.21074,
    "h": 332.1
  },
  "luminance": 0.10392
}

Semantic roles & 50–950 ramp

primary
#A11796
secondary
#4CC756
accent
#F24536
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #A11796

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

Preview Lab → · Contrast checker → · Palette generator →

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