#A17AEE#A17AEE

#A17AEE is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.8% C 0.169 H 297.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A17AEE
RGBrgb(161, 122, 238)
HSLhsl(260, 77%, 71%)
HSVhsv(260, 49%, 93%)
CMYKcmyk(32.4%, 48.7%, 0%, 6.7%)
CIE-LABlab(59.59, 39.55, -53.29)
CIE-LCHlch(59.59, 66.37, 306.58°)
OKLaboklab(66.78% 0.0769 -0.1502)
OKLCHoklch(66.78% 0.169 297.1)
XYZxyz(37.0863, 27.6687, 84.2590)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17AEE #C7EE7A
analogous
#7A8DEE #A17AEE #DB7AEE
triadic
#A17AEE #EEA17A #7AEEA1
tetradic
#A17AEE #EE7A8D #C7EE7A #7AEEDB
square
#A17AEE #EE7A8D #C7EE7A #7AEEDB
split-complementary
#A17AEE #EEDB7A #8DEE7A
monochromatic
#591BD3 #7B44E7 #A17AEE #C7B0F5 #ECE4FC

Accessibility & contrast

On white

3.21
#A17AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A17AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17AEE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17AEE#FFFFFF#000000##000000
##A17AEE1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#5B8EEB
Tritanopia (blue-blind)
#9090A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a17aee;
/* rgb */ color: rgb(161, 122, 238);
/* oklch */ color: oklch(66.8% 0.169 297.1);
Tailwind
colors: {
  custom: {
    50: '#c0a1f4',
    500: '#a17aee',
    950: '#000000',
  },
}
SCSS
$custom: #a17aee;
$custom-light: #c0a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a17aee",
  "rgb": {
    "r": 161,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 260.172,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66783,
    "c": 0.16878,
    "h": 297.1
  },
  "luminance": 0.27669
}

Semantic roles & 50–950 ramp

primary
#A17AEE
secondary
#E7F2D2
accent
#DA0C94
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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