#A17EF5#A17EF5

#A17EF5 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.9% C 0.172 H 295.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A17EF5
RGBrgb(161, 126, 245)
HSLhsl(258, 86%, 73%)
HSVhsv(258, 49%, 96%)
CMYKcmyk(34.3%, 48.6%, 0%, 3.9%)
CIE-LABlab(60.86, 39.09, -55.14)
CIE-LCHlch(60.86, 67.59, 305.33°)
OKLaboklab(67.86% 0.0725 -0.1556)
OKLCHoklch(67.86% 0.172 295)
XYZxyz(38.6360, 29.0907, 89.9480)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17EF5 #D2F57E
analogous
#7E96F5 #A17EF5 #DC7EF5
triadic
#A17EF5 #F5A17E #7EF5A1
tetradic
#A17EF5 #F57E96 #D2F57E #7EF5DC
square
#A17EF5 #F57E96 #D2F57E #7EF5DC
split-complementary
#A17EF5 #F5DC7E #96F57E
monochromatic
#5012E7 #7845F1 #A17EF5 #CAB7F9 #EAE3FD

Accessibility & contrast

On white

3.08
#A17EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#A17EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17EF5
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17EF5#FFFFFF#000000##000000
##A17EF51.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5394F9
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#8D95AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a17ef5;
/* rgb */ color: rgb(161, 126, 245);
/* oklch */ color: oklch(67.9% 0.172 295.0);
Tailwind
colors: {
  custom: {
    50: '#c0a4f9',
    500: '#a17ef5',
    950: '#000000',
  },
}
SCSS
$custom: #a17ef5;
$custom-light: #c0a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a17ef5",
  "rgb": {
    "r": 161,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 257.647,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67856,
    "c": 0.17169,
    "h": 295
  },
  "luminance": 0.29091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A17EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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