#A17AFC#A17AFC

#A17AFC is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.6% C 0.186 H 294.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A17AFC
RGBrgb(161, 122, 252)
HSLhsl(258, 96%, 73%)
HSVhsv(258, 52%, 99%)
CMYKcmyk(36.1%, 51.6%, 0%, 1.2%)
CIE-LABlab(60.36, 43.12, -59.80)
CIE-LCHlch(60.36, 73.73, 305.79°)
OKLaboklab(67.61% 0.078 -0.1693)
OKLCHoklch(67.61% 0.186 294.7)
XYZxyz(39.2236, 28.5236, 95.5157)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17AFC #D5FC7A
analogous
#7A94FC #A17AFC #E27AFC
triadic
#A17AFC #FCA17A #7AFCA1
tetradic
#A17AFC #FC7A94 #D5FC7A #7AFCE2
square
#A17AFC #FC7A94 #D5FC7A #7AFCE2
split-complementary
#A17AFC #FCE27A #94FC7A
monochromatic
#4E06F6 #773EFB #A17AFC #CBB6FD #EAE1FE

Accessibility & contrast

On white

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

On black

6.70
#A17AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17AFC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17AFC#FFFFFF#000000##000000
##A17AFC1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#4E90F9
Tritanopia (blue-blind)
#8B94B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17afc;
/* rgb */ color: rgb(161, 122, 252);
/* oklch */ color: oklch(67.6% 0.186 294.7);
Tailwind
colors: {
  custom: {
    50: '#c1a1fe',
    500: '#a17afc',
    950: '#000000',
  },
}
SCSS
$custom: #a17afc;
$custom-light: #c1a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a17afc",
  "rgb": {
    "r": 161,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 258,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67606,
    "c": 0.18641,
    "h": 294.7
  },
  "luminance": 0.28524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A17AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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