#A17AFA#A17AFA

#A17AFA is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.5% C 0.184 H 295.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A17AFA
RGBrgb(161, 122, 250)
HSLhsl(258, 93%, 73%)
HSVhsv(258, 51%, 98%)
CMYKcmyk(35.6%, 51.2%, 0%, 2%)
CIE-LABlab(60.25, 42.61, -58.88)
CIE-LCHlch(60.25, 72.68, 305.89°)
OKLaboklab(67.49% 0.0779 -0.1666)
OKLCHoklch(67.49% 0.184 295.1)
XYZxyz(38.9084, 28.3975, 93.8553)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17AFA #D3FA7A
analogous
#7A93FA #A17AFA #E17AFA
triadic
#A17AFA #FAA17A #7AFAA1
tetradic
#A17AFA #FA7A93 #D3FA7A #7AFAE1
square
#A17AFA #FA7A93 #D3FA7A #7AFAE1
split-complementary
#A17AFA #FAE17A #93FA7A
monochromatic
#5009F1 #773FF8 #A17AFA #CBB5FC #EAE2FE

Accessibility & contrast

On white

3.14
#A17AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#A17AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17AFA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17AFA#FFFFFF#000000##000000
##A17AFA1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FE
Deuteranopia (green-blind)
#508FF7
Tritanopia (blue-blind)
#8C94AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17afa;
/* rgb */ color: rgb(161, 122, 250);
/* oklch */ color: oklch(67.5% 0.184 295.1);
Tailwind
colors: {
  custom: {
    50: '#c1a1fc',
    500: '#a17afa',
    950: '#000000',
  },
}
SCSS
$custom: #a17afa;
$custom-light: #c1a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a17afa",
  "rgb": {
    "r": 161,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 258.281,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67486,
    "c": 0.18389,
    "h": 295.1
  },
  "luminance": 0.28398
}

Semantic roles & 50–950 ramp

primary
#A17AFA
secondary
#ECF6D5
accent
#E600A0
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A17AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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