#A17DF7#A17DF7

#A17DF7 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.8% C 0.176 H 294.9°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A17DF7
RGBrgb(161, 125, 247)
HSLhsl(258, 88%, 73%)
HSVhsv(258, 49%, 97%)
CMYKcmyk(34.8%, 49.4%, 0%, 3.1%)
CIE-LABlab(60.75, 40.16, -56.43)
CIE-LCHlch(60.75, 69.26, 305.44°)
OKLaboklab(67.8% 0.074 -0.1594)
OKLCHoklch(67.8% 0.176 294.9)
XYZxyz(38.8158, 28.9590, 91.5223)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17DF7 #D3F77D
analogous
#7D96F7 #A17DF7 #DE7DF7
triadic
#A17DF7 #F7A17D #7DF7A1
tetradic
#A17DF7 #F77D96 #D3F77D #7DF7DE
square
#A17DF7 #F77D96 #D3F77D #7DF7DE
split-complementary
#A17DF7 #F7DE7D #96F77D
monochromatic
#500EEB #7743F3 #A17DF7 #CBB7FB #EAE2FD

Accessibility & contrast

On white

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

On black

6.79
#A17DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17DF7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17DF7#FFFFFF#000000##000000
##A17DF71.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#5791F4
Tritanopia (blue-blind)
#8D95AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a17df7;
/* rgb */ color: rgb(161, 125, 247);
/* oklch */ color: oklch(67.8% 0.176 294.9);
Tailwind
colors: {
  custom: {
    50: '#c0a3fa',
    500: '#a17df7',
    950: '#000000',
  },
}
SCSS
$custom: #a17df7;
$custom-light: #c0a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a17df7",
  "rgb": {
    "r": 161,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 257.705,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67804,
    "c": 0.17572,
    "h": 294.9
  },
  "luminance": 0.2896
}

Semantic roles & 50–950 ramp

primary
#A17DF7
secondary
#ECF5D6
accent
#E500A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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