#A17AFD#A17AFD

#A17AFD is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.188 H 294.6°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A17AFD
RGBrgb(161, 122, 253)
HSLhsl(258, 97%, 74%)
HSVhsv(258, 52%, 99%)
CMYKcmyk(36.4%, 51.8%, 0%, 0.8%)
CIE-LABlab(60.42, 43.38, -60.26)
CIE-LCHlch(60.42, 74.25, 305.75°)
OKLaboklab(67.67% 0.0781 -0.1706)
OKLCHoklch(67.67% 0.188 294.6)
XYZxyz(39.3825, 28.5872, 96.3524)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17AFD #D6FD7A
analogous
#7A94FD #A17AFD #E37AFD
triadic
#A17AFD #FDA17A #7AFDA1
tetradic
#A17AFD #FD7A94 #D6FD7A #7AFDE3
square
#A17AFD #FD7A94 #D6FD7A #7AFDE3
split-complementary
#A17AFD #FDE37A #94FD7A
monochromatic
#4D04F9 #763EFC #A17AFD #CCB6FE #EAE1FF

Accessibility & contrast

On white

3.13
#A17AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A17AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17AFD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17AFD#FFFFFF#000000##000000
##A17AFD1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#4D90FA
Tritanopia (blue-blind)
#8B94B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a17afd;
/* rgb */ color: rgb(161, 122, 253);
/* oklch */ color: oklch(67.7% 0.188 294.6);
Tailwind
colors: {
  custom: {
    50: '#c1a1ff',
    500: '#a17afd',
    950: '#000000',
  },
}
SCSS
$custom: #a17afd;
$custom-light: #c1a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a17afd",
  "rgb": {
    "r": 161,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 257.863,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67667,
    "c": 0.18766,
    "h": 294.6
  },
  "luminance": 0.28588
}

Semantic roles & 50–950 ramp

primary
#A17AFD
secondary
#EDF7D4
accent
#E600A1
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A17AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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