#A17AFB#A17AFB

#A17AFB is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.5% C 0.185 H 294.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A17AFB
RGBrgb(161, 122, 251)
HSLhsl(258, 94%, 73%)
HSVhsv(258, 51%, 98%)
CMYKcmyk(35.9%, 51.4%, 0%, 1.6%)
CIE-LABlab(60.30, 42.86, -59.34)
CIE-LCHlch(60.30, 73.20, 305.84°)
OKLaboklab(67.55% 0.078 -0.1679)
OKLCHoklch(67.55% 0.185 294.9)
XYZxyz(39.0656, 28.4604, 94.6833)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17AFB #D4FB7A
analogous
#7A93FB #A17AFB #E27AFB
triadic
#A17AFB #FBA17A #7AFBA1
tetradic
#A17AFB #FB7A93 #D4FB7A #7AFBE2
square
#A17AFB #FB7A93 #D4FB7A #7AFBE2
split-complementary
#A17AFB #FBE27A #93FB7A
monochromatic
#4F07F3 #773FF9 #A17AFB #CBB5FD #EAE1FE

Accessibility & contrast

On white

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

On black

6.69
#A17AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17AFB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17AFB#FFFFFF#000000##000000
##A17AFB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FF
Deuteranopia (green-blind)
#4F8FF8
Tritanopia (blue-blind)
#8B94AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17afb;
/* rgb */ color: rgb(161, 122, 251);
/* oklch */ color: oklch(67.5% 0.185 294.9);
Tailwind
colors: {
  custom: {
    50: '#c1a1fd',
    500: '#a17afb',
    950: '#000000',
  },
}
SCSS
$custom: #a17afb;
$custom-light: #c1a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a17afb",
  "rgb": {
    "r": 161,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 258.14,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67546,
    "c": 0.18516,
    "h": 294.9
  },
  "luminance": 0.28461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A17AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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