#A17DF2#A17DF2

#A17DF2 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.5% C 0.169 H 295.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A17DF2
RGBrgb(161, 125, 242)
HSLhsl(258, 82%, 72%)
HSVhsv(258, 48%, 95%)
CMYKcmyk(33.5%, 48.3%, 0%, 5.1%)
CIE-LABlab(60.48, 38.88, -54.10)
CIE-LCHlch(60.48, 66.62, 305.71°)
OKLaboklab(67.52% 0.0735 -0.1526)
OKLCHoklch(67.52% 0.169 295.7)
XYZxyz(38.0545, 28.6545, 87.5131)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17DF2 #CEF27D
analogous
#7D94F2 #A17DF2 #DC7DF2
triadic
#A17DF2 #F2A17D #7DF2A1
tetradic
#A17DF2 #F27D94 #CEF27D #7DF2DC
square
#A17DF2 #F27D94 #CEF27D #7DF2DC
split-complementary
#A17DF2 #F2DC7D #94F27D
monochromatic
#5416DE #7945EC #A17DF2 #C9B5F8 #EBE3FC

Accessibility & contrast

On white

3.12
#A17DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#A17DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17DF2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17DF2#FFFFFF#000000##000000
##A17DF21.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#8F94AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a17df2;
/* rgb */ color: rgb(161, 125, 242);
/* oklch */ color: oklch(67.5% 0.169 295.7);
Tailwind
colors: {
  custom: {
    50: '#c0a3f7',
    500: '#a17df2',
    950: '#000000',
  },
}
SCSS
$custom: #a17df2;
$custom-light: #c0a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a17df2",
  "rgb": {
    "r": 161,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 258.462,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67515,
    "c": 0.16934,
    "h": 295.7
  },
  "luminance": 0.28655
}

Semantic roles & 50–950 ramp

primary
#A17DF2
secondary
#EBF4D7
accent
#DE079C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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