#A17EF7#A17EF7

#A17EF7 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.0% C 0.174 H 294.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A17EF7
RGBrgb(161, 126, 247)
HSLhsl(257, 88%, 73%)
HSVhsv(257, 49%, 97%)
CMYKcmyk(34.8%, 49%, 0%, 3.1%)
CIE-LABlab(60.97, 39.60, -56.07)
CIE-LCHlch(60.97, 68.65, 305.23°)
OKLaboklab(67.97% 0.0727 -0.1583)
OKLCHoklch(67.97% 0.174 294.7)
XYZxyz(38.9430, 29.2135, 91.5647)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17EF7 #D4F77E
analogous
#7E97F7 #A17EF7 #DD7EF7
triadic
#A17EF7 #F7A17E #7EF7A1
tetradic
#A17EF7 #F77E97 #D4F77E #7EF7DD
square
#A17EF7 #F77E97 #D4F77E #7EF7DD
split-complementary
#A17EF7 #F7DD7E #97F77E
monochromatic
#4F0FEC #7744F3 #A17EF7 #CBB8FB #EAE2FD

Accessibility & contrast

On white

3.07
#A17EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#A17EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17EF7
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17EF7#FFFFFF#000000##000000
##A17EF71.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#8D96AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a17ef7;
/* rgb */ color: rgb(161, 126, 247);
/* oklch */ color: oklch(68.0% 0.174 294.7);
Tailwind
colors: {
  custom: {
    50: '#c0a4fa',
    500: '#a17ef7',
    950: '#000000',
  },
}
SCSS
$custom: #a17ef7;
$custom-light: #c0a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a17ef7",
  "rgb": {
    "r": 161,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 257.355,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67972,
    "c": 0.17424,
    "h": 294.7
  },
  "luminance": 0.29214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A17EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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