#A17EFE#A17EFE

#A17EFE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.4% C 0.183 H 293.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A17EFE
RGBrgb(161, 126, 254)
HSLhsl(256, 98%, 75%)
HSVhsv(256, 50%, 100%)
CMYKcmyk(36.6%, 50.4%, 0%, 0.4%)
CIE-LABlab(61.35, 41.41, -59.31)
CIE-LCHlch(61.35, 72.33, 304.92°)
OKLaboklab(68.38% 0.0733 -0.1678)
OKLCHoklch(68.38% 0.183 293.6)
XYZxyz(40.0435, 29.6537, 97.3607)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17EFE #DBFE7E
analogous
#7E9BFE #A17EFE #E17EFE
triadic
#A17EFE #FEA17E #7EFEA1
tetradic
#A17EFE #FE7E9B #DBFE7E #7EFEE1
square
#A17EFE #FE7E9B #DBFE7E #7EFEE1
split-complementary
#A17EFE #FEE17E #9BFE7E
monochromatic
#4805FD #7541FE #A17EFE #CDBBFE #E9E1FF

Accessibility & contrast

On white

3.03
#A17EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A17EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17EFE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17EFE#FFFFFF#000000##000000
##A17EFE1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#8A98B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a17efe;
/* rgb */ color: rgb(161, 126, 254);
/* oklch */ color: oklch(68.4% 0.183 293.6);
Tailwind
colors: {
  custom: {
    50: '#c1a4ff',
    500: '#a17efe',
    950: '#000000',
  },
}
SCSS
$custom: #a17efe;
$custom-light: #c1a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a17efe",
  "rgb": {
    "r": 161,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 256.406,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68383,
    "c": 0.18313,
    "h": 293.6
  },
  "luminance": 0.29655
}

Semantic roles & 50–950 ramp

primary
#A17EFE
secondary
#EDF7D4
accent
#E600A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A17EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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