#A17DF8#A17DF8

#A17DF8 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.177 H 294.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A17DF8
RGBrgb(161, 125, 248)
HSLhsl(258, 90%, 73%)
HSVhsv(258, 50%, 97%)
CMYKcmyk(35.1%, 49.6%, 0%, 2.7%)
CIE-LABlab(60.80, 40.42, -56.89)
CIE-LCHlch(60.80, 69.79, 305.39°)
OKLaboklab(67.86% 0.074 -0.1608)
OKLCHoklch(67.86% 0.177 294.7)
XYZxyz(38.9705, 29.0209, 92.3371)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17DF8 #D4F87D
analogous
#7D96F8 #A17DF8 #DE7DF8
triadic
#A17DF8 #F8A17D #7DF8A1
tetradic
#A17DF8 #F87D96 #D4F87D #7DF8DE
square
#A17DF8 #F87D96 #D4F87D #7DF8DE
split-complementary
#A17DF8 #F8DE7D #96F87D
monochromatic
#4F0DEE #7743F5 #A17DF8 #CBB7FB #EAE2FD

Accessibility & contrast

On white

3.09
#A17DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#A17DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17DF8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17DF8#FFFFFF#000000##000000
##A17DF81.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#5691F5
Tritanopia (blue-blind)
#8C95AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a17df8;
/* rgb */ color: rgb(161, 125, 248);
/* oklch */ color: oklch(67.9% 0.177 294.7);
Tailwind
colors: {
  custom: {
    50: '#c1a3fb',
    500: '#a17df8',
    950: '#000000',
  },
}
SCSS
$custom: #a17df8;
$custom-light: #c1a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a17df8",
  "rgb": {
    "r": 161,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 257.561,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67863,
    "c": 0.17699,
    "h": 294.7
  },
  "luminance": 0.29022
}

Semantic roles & 50–950 ramp

primary
#A17DF8
secondary
#ECF6D5
accent
#E600A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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