#A17AAA#A17AAA

#A17AAA is a light, moderate purple. Relative luminance 0.244; OKLCH L 63.4% C 0.083 H 319.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A17AAA
RGBrgb(161, 122, 170)
HSLhsl(289, 22%, 57%)
HSVhsv(289, 28%, 67%)
CMYKcmyk(5.3%, 28.2%, 0%, 33.3%)
CIE-LABlab(56.49, 23.83, -19.69)
CIE-LCHlch(56.49, 30.92, 320.43°)
OKLaboklab(63.42% 0.0636 -0.0535)
OKLCHoklch(63.42% 0.083 319.9)
XYZxyz(28.9122, 24.3991, 41.2089)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17AAA #83AA7A
analogous
#897AAA #A17AAA #AA7A9B
triadic
#A17AAA #AAA17A #7AAAA1
tetradic
#A17AAA #AA897A #83AA7A #7A9BAA
square
#A17AAA #AA897A #83AA7A #7A9BAA
split-complementary
#A17AAA #9BAA7A #7AAA89
monochromatic
#604267 #835A8D #A17AAA #BB9FC2 #D6C5DA

Accessibility & contrast

On white

3.57
#A17AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#A17AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17AAA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17AAA#FFFFFF#000000##000000
##A17AAA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AC
Deuteranopia (green-blind)
#7D89A8
Tritanopia (blue-blind)
#A27F8B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a17aaa;
/* rgb */ color: rgb(161, 122, 170);
/* oklch */ color: oklch(63.4% 0.083 319.9);
Tailwind
colors: {
  custom: {
    50: '#bda1c3',
    500: '#a17aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a17aaa;
$custom-light: #bda1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a17aaa",
  "rgb": {
    "r": 161,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 288.75,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63424,
    "c": 0.0831,
    "h": 319.9
  },
  "luminance": 0.24398
}

Semantic roles & 50–950 ramp

primary
#A17AAA
secondary
#BACAB6
accent
#BF6979
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#120F12
muted
#817E81

Preview Lab

Preview with #A17AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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