#A97EFD#A97EFD

#A97EFD is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.0% C 0.183 H 297.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A97EFD
RGBrgb(169, 126, 253)
HSLhsl(260, 97%, 74%)
HSVhsv(260, 50%, 99%)
CMYKcmyk(33.2%, 50.2%, 0%, 0.8%)
CIE-LABlab(62.04, 43.09, -57.63)
CIE-LCHlch(62.04, 71.96, 306.79°)
OKLaboklab(69.05% 0.0828 -0.1627)
OKLCHoklch(69.05% 0.183 297)
XYZxyz(41.5483, 30.4480, 96.5975)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EFD #D2FD7E
analogous
#7E93FD #A97EFD #E97EFD
triadic
#A97EFD #FDA97E #7EFDA9
tetradic
#A97EFD #FD7E93 #D2FD7E #7EFDE9
square
#A97EFD #FD7E93 #D2FD7E #7EFDE9
split-complementary
#A97EFD #FDE97E #93FD7E
monochromatic
#5905FB #8142FC #A97EFD #D1BAFE #EBE1FF

Accessibility & contrast

On white

2.96
#A97EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#A97EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97EFD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EFD#FFFFFF#000000##000000
##A97EFD1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#5A94FA
Tritanopia (blue-blind)
#9697B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a97efd;
/* rgb */ color: rgb(169, 126, 253);
/* oklch */ color: oklch(69.0% 0.183 297.0);
Tailwind
colors: {
  custom: {
    50: '#c6a4ff',
    500: '#a97efd',
    950: '#000000',
  },
}
SCSS
$custom: #a97efd;
$custom-light: #c6a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a97efd",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 260.315,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.6905,
    "c": 0.18257,
    "h": 297
  },
  "luminance": 0.30449
}

Semantic roles & 50–950 ramp

primary
#A97EFD
secondary
#EBF7D4
accent
#E60098
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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