#A97EFE#A97EFE

#A97EFE is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.1% C 0.184 H 296.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A97EFE
RGBrgb(169, 126, 254)
HSLhsl(260, 98%, 75%)
HSVhsv(260, 50%, 100%)
CMYKcmyk(33.5%, 50.4%, 0%, 0.4%)
CIE-LABlab(62.09, 43.34, -58.09)
CIE-LCHlch(62.09, 72.48, 306.73°)
OKLaboklab(69.11% 0.0829 -0.164)
OKLCHoklch(69.11% 0.184 296.8)
XYZxyz(41.7080, 30.5119, 97.4387)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EFE #D3FE7E
analogous
#7E93FE #A97EFE #E97EFE
triadic
#A97EFE #FEA97E #7EFEA9
tetradic
#A97EFE #FE7E93 #D3FE7E #7EFEE9
square
#A97EFE #FE7E93 #D3FE7E #7EFEE9
split-complementary
#A97EFE #FEE97E #93FE7E
monochromatic
#5805FD #8141FE #A97EFE #D1BBFE #EBE1FF

Accessibility & contrast

On white

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

On black

7.10
#A97EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97EFE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EFE#FFFFFF#000000##000000
##A97EFE1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E97FF
Deuteranopia (green-blind)
#5995FB
Tritanopia (blue-blind)
#9697B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a97efe;
/* rgb */ color: rgb(169, 126, 254);
/* oklch */ color: oklch(69.1% 0.184 296.8);
Tailwind
colors: {
  custom: {
    50: '#c6a4ff',
    500: '#a97efe',
    950: '#000000',
  },
}
SCSS
$custom: #a97efe;
$custom-light: #c6a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a97efe",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 260.156,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69108,
    "c": 0.18382,
    "h": 296.8
  },
  "luminance": 0.30512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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