#A17AF7#A17AF7

#A17AF7 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.3% C 0.180 H 295.6°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A17AF7
RGBrgb(161, 122, 247)
HSLhsl(259, 89%, 72%)
HSVhsv(259, 51%, 97%)
CMYKcmyk(34.8%, 50.6%, 0%, 3.1%)
CIE-LABlab(60.08, 41.84, -57.49)
CIE-LCHlch(60.08, 71.11, 306.04°)
OKLaboklab(67.31% 0.0777 -0.1625)
OKLCHoklch(67.31% 0.18 295.6)
XYZxyz(38.4417, 28.2109, 91.3976)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17AF7 #D0F77A
analogous
#7A92F7 #A17AF7 #DF7AF7
triadic
#A17AF7 #F7A17A #7AF7A1
tetradic
#A17AF7 #F77A92 #D0F77A #7AF7DF
square
#A17AF7 #F77A92 #D0F77A #7AF7DF
split-complementary
#A17AF7 #F7DF7A #92F77A
monochromatic
#520EE9 #7840F4 #A17AF7 #CAB4FA #EBE2FD

Accessibility & contrast

On white

3.16
#A17AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#A17AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17AF7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17AF7#FFFFFF#000000##000000
##A17AF71.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FB
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#8D93AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17af7;
/* rgb */ color: rgb(161, 122, 247);
/* oklch */ color: oklch(67.3% 0.180 295.6);
Tailwind
colors: {
  custom: {
    50: '#c1a1fa',
    500: '#a17af7',
    950: '#000000',
  },
}
SCSS
$custom: #a17af7;
$custom-light: #c1a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a17af7",
  "rgb": {
    "r": 161,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 258.72,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67308,
    "c": 0.18014,
    "h": 295.6
  },
  "luminance": 0.28212
}

Semantic roles & 50–950 ramp

primary
#A17AF7
secondary
#EBF5D6
accent
#E5009E
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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