#A97FEE#A97FEE

#A97FEE is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.4% C 0.162 H 299.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A97FEE
RGBrgb(169, 127, 238)
HSLhsl(263, 77%, 72%)
HSVhsv(263, 47%, 93%)
CMYKcmyk(29%, 46.6%, 0%, 6.7%)
CIE-LABlab(61.47, 38.83, -50.26)
CIE-LCHlch(61.47, 63.51, 307.69°)
OKLaboklab(68.37% 0.0801 -0.1412)
OKLCHoklch(68.37% 0.162 299.6)
XYZxyz(39.3806, 29.7865, 84.5470)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FEE #C4EE7F
analogous
#7F8DEE #A97FEE #E17FEE
triadic
#A97FEE #EEA97F #7FEEA9
tetradic
#A97FEE #EE7F8D #C4EE7F #7FEEE1
square
#A97FEE #EE7F8D #C4EE7F #7FEEE1
split-complementary
#A97FEE #EEE17F #8DEE7F
monochromatic
#631CD6 #8549E7 #A97FEE #CDB5F5 #EDE4FB

Accessibility & contrast

On white

3.02
#A97FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A97FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97FEE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FEE#FFFFFF#000000##000000
##A97FEE1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F2
Deuteranopia (green-blind)
#6694EB
Tritanopia (blue-blind)
#9B93AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97fee;
/* rgb */ color: rgb(169, 127, 238);
/* oklch */ color: oklch(68.4% 0.162 299.6);
Tailwind
colors: {
  custom: {
    50: '#c5a5f4',
    500: '#a97fee',
    950: '#000000',
  },
}
SCSS
$custom: #a97fee;
$custom-light: #c5a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a97fee",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 262.703,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68369,
    "c": 0.16229,
    "h": 299.6
  },
  "luminance": 0.29787
}

Semantic roles & 50–950 ramp

primary
#A97FEE
secondary
#E8F3D6
accent
#D90D8C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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