#A17DF4#A17DF4

#A17DF4 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.6% C 0.172 H 295.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A17DF4
RGBrgb(161, 125, 244)
HSLhsl(258, 84%, 72%)
HSVhsv(258, 49%, 96%)
CMYKcmyk(34%, 48.8%, 0%, 4.3%)
CIE-LABlab(60.58, 39.39, -55.03)
CIE-LCHlch(60.58, 67.68, 305.60°)
OKLaboklab(67.63% 0.0737 -0.1553)
OKLCHoklch(67.63% 0.172 295.4)
XYZxyz(38.3566, 28.7753, 89.1038)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17DF4 #D0F47D
analogous
#7D95F4 #A17DF4 #DC7DF4
triadic
#A17DF4 #F4A17D #7DF4A1
tetradic
#A17DF4 #F47D95 #D0F47D #7DF4DC
square
#A17DF4 #F47D95 #D0F47D #7DF4DC
split-complementary
#A17DF4 #F4DC7D #95F47D
monochromatic
#5213E3 #7845EF #A17DF4 #CAB5F9 #EBE3FD

Accessibility & contrast

On white

3.11
#A17DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A17DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17DF4
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17DF4#FFFFFF#000000##000000
##A17DF41.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F8
Deuteranopia (green-blind)
#5A90F1
Tritanopia (blue-blind)
#8E94AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a17df4;
/* rgb */ color: rgb(161, 125, 244);
/* oklch */ color: oklch(67.6% 0.172 295.4);
Tailwind
colors: {
  custom: {
    50: '#c0a3f8',
    500: '#a17df4',
    950: '#000000',
  },
}
SCSS
$custom: #a17df4;
$custom-light: #c0a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a17df4",
  "rgb": {
    "r": 161,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 258.151,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6763,
    "c": 0.1719,
    "h": 295.4
  },
  "luminance": 0.28776
}

Semantic roles & 50–950 ramp

primary
#A17DF4
secondary
#EBF5D6
accent
#E1059E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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