#A17EF8#A17EF8

#A17EF8 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.0% C 0.176 H 294.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A17EF8
RGBrgb(161, 126, 248)
HSLhsl(257, 90%, 73%)
HSVhsv(257, 49%, 97%)
CMYKcmyk(35.1%, 49.2%, 0%, 2.7%)
CIE-LABlab(61.02, 39.86, -56.54)
CIE-LCHlch(61.02, 69.17, 305.18°)
OKLaboklab(68.03% 0.0728 -0.1597)
OKLCHoklch(68.03% 0.176 294.5)
XYZxyz(39.0977, 29.2753, 92.3795)
Luminance0.2928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17EF8 #D5F87E
analogous
#7E98F8 #A17EF8 #DE7EF8
triadic
#A17EF8 #F8A17E #7EF8A1
tetradic
#A17EF8 #F87E98 #D5F87E #7EF8DE
square
#A17EF8 #F87E98 #D5F87E #7EF8DE
split-complementary
#A17EF8 #F8DE7E #98F87E
monochromatic
#4E0DEF #7744F5 #A17EF8 #CBB8FB #EAE2FD

Accessibility & contrast

On white

3.06
#A17EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A17EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17EF8
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17EF8#FFFFFF#000000##000000
##A17EF81.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FC
Deuteranopia (green-blind)
#5891F5
Tritanopia (blue-blind)
#8C96AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a17ef8;
/* rgb */ color: rgb(161, 126, 248);
/* oklch */ color: oklch(68.0% 0.176 294.5);
Tailwind
colors: {
  custom: {
    50: '#c0a4fb',
    500: '#a17ef8',
    950: '#000000',
  },
}
SCSS
$custom: #a17ef8;
$custom-light: #c0a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a17ef8",
  "rgb": {
    "r": 161,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 257.213,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6803,
    "c": 0.17551,
    "h": 294.5
  },
  "luminance": 0.29276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A17EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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