#A97DEB#A97DEB

#A97DEB is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.9% C 0.162 H 300.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A97DEB
RGBrgb(169, 125, 235)
HSLhsl(264, 73%, 71%)
HSVhsv(264, 47%, 92%)
CMYKcmyk(28.1%, 46.8%, 0%, 7.8%)
CIE-LABlab(60.87, 39.22, -49.55)
CIE-LCHlch(60.87, 63.19, 308.36°)
OKLaboklab(67.87% 0.0824 -0.1391)
OKLCHoklch(67.87% 0.162 300.6)
XYZxyz(38.6878, 29.1002, 82.1599)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DEB #BFEB7D
analogous
#7D88EB #A97DEB #E07DEB
triadic
#A97DEB #EBA97D #7DEBA9
tetradic
#A97DEB #EB7D88 #BFEB7D #7DEBE0
square
#A97DEB #EB7D88 #BFEB7D #7DEBE0
split-complementary
#A97DEB #EBE07D #88EB7D
monochromatic
#6520CE #8648E3 #A97DEB #CCB2F3 #EDE4FB

Accessibility & contrast

On white

3.08
#A97DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#A97DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97DEB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DEB#FFFFFF#000000##000000
##A97DEB1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EF
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#9C91A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97deb;
/* rgb */ color: rgb(169, 125, 235);
/* oklch */ color: oklch(67.9% 0.162 300.6);
Tailwind
colors: {
  custom: {
    50: '#c5a3f2',
    500: '#a97deb',
    950: '#000000',
  },
}
SCSS
$custom: #a97deb;
$custom-light: #c5a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a97deb",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 264,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6787,
    "c": 0.16163,
    "h": 300.6
  },
  "luminance": 0.291
}

Semantic roles & 50–950 ramp

primary
#A97DEB
secondary
#E5F1D3
accent
#D51086
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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