#A97BFE#A97BFE

#A97BFE is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.6% C 0.188 H 297.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A97BFE
RGBrgb(169, 123, 254)
HSLhsl(261, 98%, 74%)
HSVhsv(261, 52%, 100%)
CMYKcmyk(33.5%, 51.6%, 0%, 0.4%)
CIE-LABlab(61.44, 45.00, -59.13)
CIE-LCHlch(61.44, 74.30, 307.27°)
OKLaboklab(68.63% 0.0867 -0.1671)
OKLCHoklch(68.63% 0.188 297.4)
XYZxyz(41.3301, 29.7562, 97.3127)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97BFE #D0FE7B
analogous
#7B8FFE #A97BFE #EB7BFE
triadic
#A97BFE #FEA97B #7BFEA9
tetradic
#A97BFE #FE7B8F #D0FE7B #7BFEEB
square
#A97BFE #FE7B8F #D0FE7B #7BFEEB
split-complementary
#A97BFE #FEEB7B #8FFE7B
monochromatic
#5A02FD #813EFE #A97BFE #D1B8FE #EBE1FF

Accessibility & contrast

On white

3.02
#A97BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#A97BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97BFE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97BFE#FFFFFF#000000##000000
##A97BFE1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#5593FB
Tritanopia (blue-blind)
#9695B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97bfe;
/* rgb */ color: rgb(169, 123, 254);
/* oklch */ color: oklch(68.6% 0.188 297.4);
Tailwind
colors: {
  custom: {
    50: '#c6a2ff',
    500: '#a97bfe',
    950: '#000000',
  },
}
SCSS
$custom: #a97bfe;
$custom-light: #c6a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a97bfe",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 261.069,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68625,
    "c": 0.18822,
    "h": 297.4
  },
  "luminance": 0.29757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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