#A11797#A11797

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

Color values

HEX#A11797
RGBrgb(161, 23, 151)
HSLhsl(304, 75%, 36%)
HSVhsv(304, 86%, 63%)
CMYKcmyk(0%, 85.7%, 6.2%, 36.9%)
CIE-LABlab(38.60, 64.96, -36.30)
CIE-LCHlch(38.60, 74.42, 330.81°)
OKLaboklab(49.9% 0.1862 -0.1002)
OKLCHoklch(49.9% 0.211 331.7)
XYZxyz(20.5903, 10.4260, 30.2001)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A11797 #17A121
analogous
#6617A1 #A11797 #A11752
triadic
#A11797 #97A117 #1797A1
tetradic
#A11797 #A16617 #17A121 #1752A1
square
#A11797 #A16617 #17A121 #1752A1
split-complementary
#A11797 #52A117 #17A166
monochromatic
#360833 #6B0F65 #A11797 #D71FC9 #E64DDA

Accessibility & contrast

On white

6.81
#A11797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A11797
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A11797#FFFFFF#000000##FFFFFF
##A117971.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#4A6194
Tritanopia (blue-blind)
#A82C5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a11797;
/* rgb */ color: rgb(161, 23, 151);
/* oklch */ color: oklch(49.9% 0.211 331.7);
Tailwind
colors: {
  custom: {
    50: '#c16ab6',
    500: '#a11797',
    950: '#000000',
  },
}
SCSS
$custom: #a11797;
$custom-light: #c16ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#a11797",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 151
  },
  "hsl": {
    "h": 304.348,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49898,
    "c": 0.21143,
    "h": 331.7
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#A11797
secondary
#4CC755
accent
#F24436
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #A11797

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

Preview Lab → · Contrast checker → · Palette generator →

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