#A97FF5#A97FF5

#A97FF5 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.8% C 0.171 H 298.2°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A97FF5
RGBrgb(169, 127, 245)
HSLhsl(261, 86%, 73%)
HSVhsv(261, 48%, 96%)
CMYKcmyk(31%, 48.2%, 0%, 3.9%)
CIE-LABlab(61.83, 40.55, -53.55)
CIE-LCHlch(61.83, 67.17, 307.13°)
OKLaboklab(68.76% 0.0809 -0.1508)
OKLCHoklch(68.76% 0.171 298.2)
XYZxyz(40.4290, 30.2059, 90.0688)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FF5 #CBF57F
analogous
#7F90F5 #A97FF5 #E47FF5
triadic
#A97FF5 #F5A97F #7FF5A9
tetradic
#A97FF5 #F57F90 #CBF57F #7FF5E4
square
#A97FF5 #F57F90 #CBF57F #7FF5E4
split-complementary
#A97FF5 #F5E47F #90F57F
monochromatic
#5E12E8 #8346F1 #A97FF5 #CFB8F9 #ECE3FD

Accessibility & contrast

On white

2.98
#A97FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A97FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97FF5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FF5#FFFFFF#000000##000000
##A97FF51.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896F9
Deuteranopia (green-blind)
#6194F2
Tritanopia (blue-blind)
#9995AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97ff5;
/* rgb */ color: rgb(169, 127, 245);
/* oklch */ color: oklch(68.8% 0.171 298.2);
Tailwind
colors: {
  custom: {
    50: '#c6a5f9',
    500: '#a97ff5',
    950: '#000000',
  },
}
SCSS
$custom: #a97ff5;
$custom-light: #c6a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ff5",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 261.356,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68757,
    "c": 0.17108,
    "h": 298.2
  },
  "luminance": 0.30206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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