#A97CF7#A97CF7

#A97CF7 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.4% C 0.178 H 298.5°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A97CF7
RGBrgb(169, 124, 247)
HSLhsl(262, 88%, 73%)
HSVhsv(262, 50%, 97%)
CMYKcmyk(31.6%, 49.8%, 0%, 3.1%)
CIE-LABlab(61.28, 42.71, -55.54)
CIE-LCHlch(61.28, 70.06, 307.56°)
OKLaboklab(68.38% 0.0849 -0.1566)
OKLCHoklch(68.38% 0.178 298.5)
XYZxyz(40.3543, 29.5653, 91.5583)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97CF7 #CAF77C
analogous
#7C8DF7 #A97CF7 #E67CF7
triadic
#A97CF7 #F7A97C #7CF7A9
tetradic
#A97CF7 #F77C8D #CAF77C #7CF7E6
square
#A97CF7 #F77C8D #CAF77C #7CF7E6
split-complementary
#A97CF7 #F7E67C #8DF77C
monochromatic
#5F0EEA #8342F3 #A97CF7 #CFB6FB #ECE2FD

Accessibility & contrast

On white

3.04
#A97CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#A97CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97CF7
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97CF7#FFFFFF#000000##000000
##A97CF71.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FB
Deuteranopia (green-blind)
#5C93F4
Tritanopia (blue-blind)
#9993AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97cf7;
/* rgb */ color: rgb(169, 124, 247);
/* oklch */ color: oklch(68.4% 0.178 298.5);
Tailwind
colors: {
  custom: {
    50: '#c6a3fa',
    500: '#a97cf7',
    950: '#000000',
  },
}
SCSS
$custom: #a97cf7;
$custom-light: #c6a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a97cf7",
  "rgb": {
    "r": 169,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 261.951,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68378,
    "c": 0.17811,
    "h": 298.5
  },
  "luminance": 0.29566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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