#A97BF6#A97BF6

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

Color values

HEX#A97BF6
RGBrgb(169, 123, 246)
HSLhsl(262, 87%, 72%)
HSVhsv(262, 50%, 96%)
CMYKcmyk(31.3%, 50%, 0%, 3.5%)
CIE-LABlab(61.01, 43.01, -55.42)
CIE-LCHlch(61.01, 70.15, 307.82°)
OKLaboklab(68.16% 0.0861 -0.1562)
OKLCHoklch(68.16% 0.178 298.9)
XYZxyz(40.0757, 29.2544, 90.7062)
Luminance0.2925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97BF6 #C8F67B
analogous
#7B8BF6 #A97BF6 #E67BF6
triadic
#A97BF6 #F6A97B #7BF6A9
tetradic
#A97BF6 #F67B8B #C8F67B #7BF6E6
square
#A97BF6 #F67B8B #C8F67B #7BF6E6
split-complementary
#A97BF6 #F6E67B #8BF67B
monochromatic
#6010E7 #8442F2 #A97BF6 #CEB4FA #ECE2FD

Accessibility & contrast

On white

3.07
#A97BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#A97BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97BF6
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97BF6#FFFFFF#000000##000000
##A97BF61.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#9992AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97bf6;
/* rgb */ color: rgb(169, 123, 246);
/* oklch */ color: oklch(68.2% 0.178 298.9);
Tailwind
colors: {
  custom: {
    50: '#c6a2fa',
    500: '#a97bf6',
    950: '#000000',
  },
}
SCSS
$custom: #a97bf6;
$custom-light: #c6a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a97bf6",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 262.439,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68158,
    "c": 0.17837,
    "h": 298.9
  },
  "luminance": 0.29255
}

Semantic roles & 50–950 ramp

primary
#A97BF6
secondary
#E9F5D6
accent
#E4028F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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