#A97FF2#A97FF2

#A97FF2 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.167 H 298.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A97FF2
RGBrgb(169, 127, 242)
HSLhsl(262, 82%, 72%)
HSVhsv(262, 48%, 95%)
CMYKcmyk(30.2%, 47.5%, 0%, 5.1%)
CIE-LABlab(61.68, 39.81, -52.15)
CIE-LCHlch(61.68, 65.60, 307.36°)
OKLaboklab(68.59% 0.0805 -0.1467)
OKLCHoklch(68.59% 0.167 298.8)
XYZxyz(39.9748, 30.0242, 87.6764)
Luminance0.3003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FF2 #C8F27F
analogous
#7F8FF2 #A97FF2 #E27FF2
triadic
#A97FF2 #F2A97F #7FF2A9
tetradic
#A97FF2 #F27F8F #C8F27F #7FF2E2
square
#A97FF2 #F27F8F #C8F27F #7FF2E2
split-complementary
#A97FF2 #F2E27F #8FF27F
monochromatic
#6017E0 #8447EC #A97FF2 #CEB7F8 #ECE3FC

Accessibility & contrast

On white

3.00
#A97FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#A97FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97FF2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FF2#FFFFFF#000000##000000
##A97FF21.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#9A94AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97ff2;
/* rgb */ color: rgb(169, 127, 242);
/* oklch */ color: oklch(68.6% 0.167 298.8);
Tailwind
colors: {
  custom: {
    50: '#c5a5f7',
    500: '#a97ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a97ff2;
$custom-light: #c5a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ff2",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 261.913,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68589,
    "c": 0.16731,
    "h": 298.8
  },
  "luminance": 0.30025
}

Semantic roles & 50–950 ramp

primary
#A97FF2
secondary
#E9F4D7
accent
#DE0890
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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