#A11798#A11798

#A11798 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.212 H 331.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A11798
RGBrgb(161, 23, 152)
HSLhsl(304, 75%, 36%)
HSVhsv(304, 86%, 63%)
CMYKcmyk(0%, 85.7%, 5.6%, 36.9%)
CIE-LABlab(38.65, 65.11, -36.82)
CIE-LCHlch(38.65, 74.80, 330.52°)
OKLaboklab(49.96% 0.1862 -0.1017)
OKLCHoklch(49.96% 0.212 331.4)
XYZxyz(20.6719, 10.4586, 30.6297)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A11798 #17A120
analogous
#6517A1 #A11798 #A11753
triadic
#A11798 #98A117 #1798A1
tetradic
#A11798 #A16517 #17A120 #1753A1
square
#A11798 #A16517 #17A120 #1753A1
split-complementary
#A11798 #53A117 #17A165
monochromatic
#360833 #6B0F65 #A11798 #D71FCB #E64DDC

Accessibility & contrast

On white

6.79
#A11798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A11798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A11798
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A11798#FFFFFF#000000##FFFFFF
##A117981.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#496195
Tritanopia (blue-blind)
#A82D5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a11798;
/* rgb */ color: rgb(161, 23, 152);
/* oklch */ color: oklch(50.0% 0.212 331.4);
Tailwind
colors: {
  custom: {
    50: '#c16ab7',
    500: '#a11798',
    950: '#000000',
  },
}
SCSS
$custom: #a11798;
$custom-light: #c16ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#a11798",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 152
  },
  "hsl": {
    "h": 303.913,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49956,
    "c": 0.21213,
    "h": 331.4
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#A11798
secondary
#4CC754
accent
#F24236
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #A11798

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

Preview Lab → · Contrast checker → · Palette generator →

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