#A97BF8#A97BF8

#A97BF8 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.3% C 0.181 H 298.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A97BF8
RGBrgb(169, 123, 248)
HSLhsl(262, 90%, 73%)
HSVhsv(262, 50%, 97%)
CMYKcmyk(31.9%, 50.4%, 0%, 2.7%)
CIE-LABlab(61.11, 43.50, -56.35)
CIE-LCHlch(61.11, 71.19, 307.67°)
OKLaboklab(68.27% 0.0862 -0.1589)
OKLCHoklch(68.27% 0.181 298.5)
XYZxyz(40.3843, 29.3778, 92.3316)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97BF8 #CAF87B
analogous
#7B8BF8 #A97BF8 #E77BF8
triadic
#A97BF8 #F8A97B #7BF8A9
tetradic
#A97BF8 #F87B8B #CAF87B #7BF8E7
square
#A97BF8 #F87B8B #CAF87B #7BF8E7
split-complementary
#A97BF8 #F8E77B #8BF87B
monochromatic
#5F0DEC #8341F5 #A97BF8 #CFB5FB #ECE2FD

Accessibility & contrast

On white

3.05
#A97BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#A97BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97BF8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97BF8#FFFFFF#000000##000000
##A97BF81.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FC
Deuteranopia (green-blind)
#5A92F5
Tritanopia (blue-blind)
#9893AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97bf8;
/* rgb */ color: rgb(169, 123, 248);
/* oklch */ color: oklch(68.3% 0.181 298.5);
Tailwind
colors: {
  custom: {
    50: '#c6a2fb',
    500: '#a97bf8',
    950: '#000000',
  },
}
SCSS
$custom: #a97bf8;
$custom-light: #c6a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a97bf8",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 262.08,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68274,
    "c": 0.18084,
    "h": 298.5
  },
  "luminance": 0.29378
}

Semantic roles & 50–950 ramp

primary
#A97BF8
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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