#A17EF6#A17EF6

#A17EF6 is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.9% C 0.173 H 294.8°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A17EF6
RGBrgb(161, 126, 246)
HSLhsl(258, 87%, 73%)
HSVhsv(258, 49%, 96%)
CMYKcmyk(34.6%, 48.8%, 0%, 3.5%)
CIE-LABlab(60.92, 39.34, -55.61)
CIE-LCHlch(60.92, 68.12, 305.28°)
OKLaboklab(67.91% 0.0726 -0.157)
OKLCHoklch(67.91% 0.173 294.8)
XYZxyz(38.7891, 29.1519, 90.7541)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17EF6 #D3F67E
analogous
#7E97F6 #A17EF6 #DD7EF6
triadic
#A17EF6 #F6A17E #7EF6A1
tetradic
#A17EF6 #F67E97 #D3F67E #7EF6DD
square
#A17EF6 #F67E97 #D3F67E #7EF6DD
split-complementary
#A17EF6 #F6DD7E #97F67E
monochromatic
#5010E9 #7745F2 #A17EF6 #CBB7FA #EAE2FD

Accessibility & contrast

On white

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

On black

6.83
#A17EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17EF6
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17EF6#FFFFFF#000000##000000
##A17EF61.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FA
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#8D95AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a17ef6;
/* rgb */ color: rgb(161, 126, 246);
/* oklch */ color: oklch(67.9% 0.173 294.8);
Tailwind
colors: {
  custom: {
    50: '#c0a4fa',
    500: '#a17ef6',
    950: '#000000',
  },
}
SCSS
$custom: #a17ef6;
$custom-light: #c0a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a17ef6",
  "rgb": {
    "r": 161,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 257.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67914,
    "c": 0.17296,
    "h": 294.8
  },
  "luminance": 0.29153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A17EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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