#A17EFD#A17EFD

#A17EFD is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.3% C 0.182 H 293.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A17EFD
RGBrgb(161, 126, 253)
HSLhsl(257, 97%, 74%)
HSVhsv(257, 50%, 99%)
CMYKcmyk(36.4%, 50.2%, 0%, 0.8%)
CIE-LABlab(61.30, 41.15, -58.85)
CIE-LCHlch(61.30, 71.81, 304.96°)
OKLaboklab(68.32% 0.0732 -0.1665)
OKLCHoklch(68.32% 0.182 293.7)
XYZxyz(39.8838, 29.5898, 96.5195)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17EFD #DAFD7E
analogous
#7E9BFD #A17EFD #E07EFD
triadic
#A17EFD #FDA17E #7EFDA1
tetradic
#A17EFD #FD7E9B #DAFD7E #7EFDE0
square
#A17EFD #FD7E9B #DAFD7E #7EFDE0
split-complementary
#A17EFD #FDE07E #9BFD7E
monochromatic
#4905FB #7542FC #A17EFD #CDBAFE #E9E1FF

Accessibility & contrast

On white

3.04
#A17EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A17EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17EFD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17EFD#FFFFFF#000000##000000
##A17EFD1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#5392FA
Tritanopia (blue-blind)
#8A97B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a17efd;
/* rgb */ color: rgb(161, 126, 253);
/* oklch */ color: oklch(68.3% 0.182 293.7);
Tailwind
colors: {
  custom: {
    50: '#c1a4ff',
    500: '#a17efd',
    950: '#000000',
  },
}
SCSS
$custom: #a17efd;
$custom-light: #c1a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a17efd",
  "rgb": {
    "r": 161,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 256.535,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.68324,
    "c": 0.18187,
    "h": 293.7
  },
  "luminance": 0.29591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A17EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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