#A97AEB#A97AEB

#A97AEB is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.4% C 0.166 H 301.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A97AEB
RGBrgb(169, 122, 235)
HSLhsl(265, 74%, 70%)
HSVhsv(265, 48%, 92%)
CMYKcmyk(28.1%, 48.1%, 0%, 7.8%)
CIE-LABlab(60.21, 40.88, -50.60)
CIE-LCHlch(60.21, 65.05, 308.94°)
OKLaboklab(67.37% 0.0863 -0.1421)
OKLCHoklch(67.37% 0.166 301.3)
XYZxyz(38.3137, 28.3521, 82.0352)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97AEB #BCEB7A
analogous
#7A83EB #A97AEB #E27AEB
triadic
#A97AEB #EBA97A #7AEBA9
tetradic
#A97AEB #EB7A83 #BCEB7A #7AEBE2
square
#A97AEB #EB7A83 #BCEB7A #7AEBE2
split-complementary
#A97AEB #EBE27A #83EB7A
monochromatic
#671FCC #8745E3 #A97AEB #CBAFF3 #EEE4FB

Accessibility & contrast

On white

3.15
#A97AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#A97AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97AEB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97AEB#FFFFFF#000000##000000
##A97AEB1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EF
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#9C8FA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a97aeb;
/* rgb */ color: rgb(169, 122, 235);
/* oklch */ color: oklch(67.4% 0.166 301.3);
Tailwind
colors: {
  custom: {
    50: '#c5a1f2',
    500: '#a97aeb',
    950: '#000000',
  },
}
SCSS
$custom: #a97aeb;
$custom-light: #c5a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a97aeb",
  "rgb": {
    "r": 169,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 264.956,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.67374,
    "c": 0.1663,
    "h": 301.3
  },
  "luminance": 0.28352
}

Semantic roles & 50–950 ramp

primary
#A97AEB
secondary
#E3F0D1
accent
#D61083
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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