#A97FFE#A97FFE

#A97FFE is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.3% C 0.182 H 296.6°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A97FFE
RGBrgb(169, 127, 254)
HSLhsl(260, 98%, 75%)
HSVhsv(260, 50%, 100%)
CMYKcmyk(33.5%, 50%, 0%, 0.4%)
CIE-LABlab(62.31, 42.79, -57.74)
CIE-LCHlch(62.31, 71.87, 306.54°)
OKLaboklab(69.27% 0.0817 -0.163)
OKLCHoklch(69.27% 0.182 296.6)
XYZxyz(41.8365, 30.7689, 97.4815)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FFE #D4FE7F
analogous
#7F94FE #A97FFE #E97FFE
triadic
#A97FFE #FEA97F #7FFEA9
tetradic
#A97FFE #FE7F94 #D4FE7F #7FFEE9
square
#A97FFE #FE7F94 #D4FE7F #7FFEE9
split-complementary
#A97FFE #FEE97F #94FE7F
monochromatic
#5706FD #8042FE #A97FFE #D2BCFE #EBE1FF

Accessibility & contrast

On white

2.94
#A97FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#A97FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97FFE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FFE#FFFFFF#000000##000000
##A97FFE1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#9698B3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a97ffe;
/* rgb */ color: rgb(169, 127, 254);
/* oklch */ color: oklch(69.3% 0.182 296.6);
Tailwind
colors: {
  custom: {
    50: '#c6a5ff',
    500: '#a97ffe',
    950: '#000000',
  },
}
SCSS
$custom: #a97ffe;
$custom-light: #c6a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ffe",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 259.843,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69271,
    "c": 0.18233,
    "h": 296.6
  },
  "luminance": 0.3077
}

Semantic roles & 50–950 ramp

primary
#A97FFE
secondary
#EBF7D4
accent
#E6009A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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