#A97EFA#A97EFA

#A97EFA is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.179 H 297.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#A97EFA
RGBrgb(169, 126, 250)
HSLhsl(261, 93%, 74%)
HSVhsv(261, 50%, 98%)
CMYKcmyk(32.4%, 49.6%, 0%, 2%)
CIE-LABlab(61.88, 42.34, -56.24)
CIE-LCHlch(61.88, 70.39, 306.98°)
OKLaboklab(68.88% 0.0826 -0.1586)
OKLCHoklch(68.88% 0.179 297.5)
XYZxyz(41.0741, 30.2584, 94.1004)
Luminance0.3026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EFA #CFFA7E
analogous
#7E91FA #A97EFA #E77EFA
triadic
#A97EFA #FAA97E #7EFAA9
tetradic
#A97EFA #FA7E91 #CFFA7E #7EFAE7
square
#A97EFA #FA7E91 #CFFA7E #7EFAE7
split-complementary
#A97EFA #FAE77E #91FA7E
monochromatic
#5B09F4 #8243F8 #A97EFA #D0B9FC #EBE2FE

Accessibility & contrast

On white

2.98
#A97EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#A97EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97EFA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EFA#FFFFFF#000000##000000
##A97EFA1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FE
Deuteranopia (green-blind)
#5C94F7
Tritanopia (blue-blind)
#9796B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97efa;
/* rgb */ color: rgb(169, 126, 250);
/* oklch */ color: oklch(68.9% 0.179 297.5);
Tailwind
colors: {
  custom: {
    50: '#c6a4fc',
    500: '#a97efa',
    950: '#000000',
  },
}
SCSS
$custom: #a97efa;
$custom-light: #c6a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a97efa",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 260.806,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68877,
    "c": 0.17884,
    "h": 297.5
  },
  "luminance": 0.30259
}

Semantic roles & 50–950 ramp

primary
#A97EFA
secondary
#EBF6D5
accent
#E60096
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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