#A17AF4#A17AF4

#A17AF4 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.1% C 0.176 H 296.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A17AF4
RGBrgb(161, 122, 244)
HSLhsl(259, 85%, 72%)
HSVhsv(259, 50%, 96%)
CMYKcmyk(34%, 50%, 0%, 4.3%)
CIE-LABlab(59.91, 41.07, -56.10)
CIE-LCHlch(59.91, 69.53, 306.21°)
OKLaboklab(67.13% 0.0775 -0.1584)
OKLCHoklch(67.13% 0.176 296.1)
XYZxyz(37.9825, 28.0272, 88.9791)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17AF4 #CDF47A
analogous
#7A90F4 #A17AF4 #DE7AF4
triadic
#A17AF4 #F4A17A #7AF4A1
tetradic
#A17AF4 #F47A90 #CDF47A #7AF4DE
square
#A17AF4 #F47A90 #CDF47A #7AF4DE
split-complementary
#A17AF4 #F4DE7A #90F47A
monochromatic
#5513E1 #7941EF #A17AF4 #C9B3F9 #EBE3FD

Accessibility & contrast

On white

3.18
#A17AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#A17AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17AF4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17AF4#FFFFFF#000000##000000
##A17AF41.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D91F8
Deuteranopia (green-blind)
#568FF1
Tritanopia (blue-blind)
#8E92AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a17af4;
/* rgb */ color: rgb(161, 122, 244);
/* oklch */ color: oklch(67.1% 0.176 296.1);
Tailwind
colors: {
  custom: {
    50: '#c0a1f8',
    500: '#a17af4',
    950: '#000000',
  },
}
SCSS
$custom: #a17af4;
$custom-light: #c0a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a17af4",
  "rgb": {
    "r": 161,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 259.18,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67131,
    "c": 0.17636,
    "h": 296.1
  },
  "luminance": 0.28028
}

Semantic roles & 50–950 ramp

primary
#A17AF4
secondary
#EAF4D5
accent
#E1049B
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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