#A97FF1#A97FF1

#A97FF1 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.5% C 0.166 H 299.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A97FF1
RGBrgb(169, 127, 241)
HSLhsl(262, 80%, 72%)
HSVhsv(262, 47%, 95%)
CMYKcmyk(29.9%, 47.3%, 0%, 5.5%)
CIE-LABlab(61.62, 39.56, -51.67)
CIE-LCHlch(61.62, 65.08, 307.44°)
OKLaboklab(68.53% 0.0804 -0.1453)
OKLCHoklch(68.53% 0.166 299)
XYZxyz(39.8250, 29.9643, 86.8876)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FF1 #C7F17F
analogous
#7F8EF1 #A97FF1 #E27FF1
triadic
#A97FF1 #F1A97F #7FF1A9
tetradic
#A97FF1 #F17F8E #C7F17F #7FF1E2
square
#A97FF1 #F17F8E #C7F17F #7FF1E2
split-complementary
#A97FF1 #F1E27F #8EF17F
monochromatic
#6118DD #8448EB #A97FF1 #CEB6F7 #ECE3FC

Accessibility & contrast

On white

3.00
#A97FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#A97FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97FF1
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FF1#FFFFFF#000000##000000
##A97FF11.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F5
Deuteranopia (green-blind)
#6494EE
Tritanopia (blue-blind)
#9A94AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97ff1;
/* rgb */ color: rgb(169, 127, 241);
/* oklch */ color: oklch(68.5% 0.166 299.0);
Tailwind
colors: {
  custom: {
    50: '#c5a5f6',
    500: '#a97ff1',
    950: '#000000',
  },
}
SCSS
$custom: #a97ff1;
$custom-light: #c5a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ff1",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 262.105,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68534,
    "c": 0.16606,
    "h": 299
  },
  "luminance": 0.29965
}

Semantic roles & 50–950 ramp

primary
#A97FF1
secondary
#E9F4D7
accent
#DD098F
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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