#A97BF7#A97BF7

#A97BF7 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.2% C 0.180 H 298.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A97BF7
RGBrgb(169, 123, 247)
HSLhsl(262, 89%, 73%)
HSVhsv(262, 50%, 97%)
CMYKcmyk(31.6%, 50.2%, 0%, 3.1%)
CIE-LABlab(61.06, 43.26, -55.88)
CIE-LCHlch(61.06, 70.67, 307.74°)
OKLaboklab(68.22% 0.0862 -0.1576)
OKLCHoklch(68.22% 0.18 298.7)
XYZxyz(40.2296, 29.3160, 91.5167)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97BF7 #C9F77B
analogous
#7B8BF7 #A97BF7 #E77BF7
triadic
#A97BF7 #F7A97B #7BF7A9
tetradic
#A97BF7 #F77B8B #C9F77B #7BF7E7
square
#A97BF7 #F77B8B #C9F77B #7BF7E7
split-complementary
#A97BF7 #F7E77B #8BF77B
monochromatic
#600EE9 #8341F4 #A97BF7 #CFB5FA #ECE2FD

Accessibility & contrast

On white

3.06
#A97BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A97BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97BF7
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97BF7#FFFFFF#000000##000000
##A97BF71.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#5B92F4
Tritanopia (blue-blind)
#9993AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97bf7;
/* rgb */ color: rgb(169, 123, 247);
/* oklch */ color: oklch(68.2% 0.180 298.7);
Tailwind
colors: {
  custom: {
    50: '#c6a2fa',
    500: '#a97bf7',
    950: '#000000',
  },
}
SCSS
$custom: #a97bf7;
$custom-light: #c6a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a97bf7",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 262.258,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68216,
    "c": 0.17961,
    "h": 298.7
  },
  "luminance": 0.29316
}

Semantic roles & 50–950 ramp

primary
#A97BF7
secondary
#EAF5D6
accent
#E50090
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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