#A97BFB#A97BFB

#A97BFB is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.4% C 0.185 H 297.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A97BFB
RGBrgb(169, 123, 251)
HSLhsl(262, 94%, 73%)
HSVhsv(262, 51%, 98%)
CMYKcmyk(32.7%, 51%, 0%, 1.6%)
CIE-LABlab(61.28, 44.25, -57.74)
CIE-LCHlch(61.28, 72.75, 307.46°)
OKLaboklab(68.45% 0.0865 -0.163)
OKLCHoklch(68.45% 0.185 297.9)
XYZxyz(40.8535, 29.5655, 94.8024)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97BFB #CDFB7B
analogous
#7B8DFB #A97BFB #E97BFB
triadic
#A97BFB #FBA97B #7BFBA9
tetradic
#A97BFB #FB7B8D #CDFB7B #7BFBE9
square
#A97BFB #FB7B8D #CDFB7B #7BFBE9
split-complementary
#A97BFB #FBE97B #8DFB7B
monochromatic
#5D07F4 #8240F9 #A97BFB #D0B6FD #ECE1FE

Accessibility & contrast

On white

3.04
#A97BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#A97BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97BFB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97BFB#FFFFFF#000000##000000
##A97BFB1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#5793F8
Tritanopia (blue-blind)
#9794B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97bfb;
/* rgb */ color: rgb(169, 123, 251);
/* oklch */ color: oklch(68.4% 0.185 297.9);
Tailwind
colors: {
  custom: {
    50: '#c6a2fd',
    500: '#a97bfb',
    950: '#000000',
  },
}
SCSS
$custom: #a97bfb;
$custom-light: #c6a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a97bfb",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 261.563,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68449,
    "c": 0.18454,
    "h": 297.9
  },
  "luminance": 0.29566
}

Semantic roles & 50–950 ramp

primary
#A97BFB
secondary
#EAF6D5
accent
#E60093
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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