#A97DEF#A97DEF

#A97DEF is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.1% C 0.167 H 299.8°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A97DEF
RGBrgb(169, 125, 239)
HSLhsl(263, 78%, 71%)
HSVhsv(263, 48%, 94%)
CMYKcmyk(29.3%, 47.7%, 0%, 6.3%)
CIE-LABlab(61.08, 40.19, -51.44)
CIE-LCHlch(61.08, 65.27, 308.00°)
OKLaboklab(68.09% 0.0828 -0.1446)
OKLCHoklch(68.09% 0.167 299.8)
XYZxyz(39.2721, 29.3340, 85.2376)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DEF #C3EF7D
analogous
#7D8AEF #A97DEF #E27DEF
triadic
#A97DEF #EFA97D #7DEFA9
tetradic
#A97DEF #EF7D8A #C3EF7D #7DEFE2
square
#A97DEF #EF7D8A #C3EF7D #7DEFE2
split-complementary
#A97DEF #EFE27D #8AEF7D
monochromatic
#631AD7 #8547E8 #A97DEF #CDB3F6 #EDE4FC

Accessibility & contrast

On white

3.06
#A97DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#A97DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97DEF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DEF#FFFFFF#000000##000000
##A97DEF1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#6393EC
Tritanopia (blue-blind)
#9B92AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97def;
/* rgb */ color: rgb(169, 125, 239);
/* oklch */ color: oklch(68.1% 0.167 299.8);
Tailwind
colors: {
  custom: {
    50: '#c5a3f5',
    500: '#a97def',
    950: '#000000',
  },
}
SCSS
$custom: #a97def;
$custom-light: #c5a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a97def",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 263.158,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6809,
    "c": 0.16663,
    "h": 299.8
  },
  "luminance": 0.29334
}

Semantic roles & 50–950 ramp

primary
#A97DEF
secondary
#E7F3D5
accent
#DA0B8A
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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