#A97FF8#A97FF8

#A97FF8 is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.175 H 297.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A97FF8
RGBrgb(169, 127, 248)
HSLhsl(261, 90%, 74%)
HSVhsv(261, 49%, 97%)
CMYKcmyk(31.9%, 48.8%, 0%, 2.7%)
CIE-LABlab(61.99, 41.29, -54.95)
CIE-LCHlch(61.99, 68.74, 306.92°)
OKLaboklab(68.93% 0.0812 -0.1549)
OKLCHoklch(68.93% 0.175 297.7)
XYZxyz(40.8907, 30.3906, 92.5004)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FF8 #CEF87F
analogous
#7F91F8 #A97FF8 #E57FF8
triadic
#A97FF8 #F8A97F #7FF8A9
tetradic
#A97FF8 #F87F91 #CEF87F #7FF8E5
square
#A97FF8 #F87F91 #CEF87F #7FF8E5
split-complementary
#A97FF8 #F8E57F #91F87F
monochromatic
#5C0DF0 #8245F5 #A97FF8 #D0B9FB #ECE2FD

Accessibility & contrast

On white

2.97
#A97FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#A97FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97FF8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FF8#FFFFFF#000000##000000
##A97FF81.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#5F95F5
Tritanopia (blue-blind)
#9896B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a97ff8;
/* rgb */ color: rgb(169, 127, 248);
/* oklch */ color: oklch(68.9% 0.175 297.7);
Tailwind
colors: {
  custom: {
    50: '#c6a5fb',
    500: '#a97ff8',
    950: '#000000',
  },
}
SCSS
$custom: #a97ff8;
$custom-light: #c6a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ff8",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 260.826,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68927,
    "c": 0.17484,
    "h": 297.7
  },
  "luminance": 0.30391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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