#A97DEC#A97DEC

#A97DEC is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.9% C 0.163 H 300.4°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A97DEC
RGBrgb(169, 125, 236)
HSLhsl(264, 74%, 71%)
HSVhsv(264, 47%, 93%)
CMYKcmyk(28.4%, 47%, 0%, 7.5%)
CIE-LABlab(60.92, 39.46, -50.02)
CIE-LCHlch(60.92, 63.71, 308.27°)
OKLaboklab(67.93% 0.0825 -0.1405)
OKLCHoklch(67.93% 0.163 300.4)
XYZxyz(38.8326, 29.1582, 82.9229)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DEC #C0EC7D
analogous
#7D88EC #A97DEC #E17DEC
triadic
#A97DEC #ECA97D #7DECA9
tetradic
#A97DEC #EC7D88 #C0EC7D #7DECE1
square
#A97DEC #EC7D88 #C0EC7D #7DECE1
split-complementary
#A97DEC #ECE17D #88EC7D
monochromatic
#651ED0 #8648E4 #A97DEC #CCB2F4 #EDE4FB

Accessibility & contrast

On white

3.07
#A97DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#A97DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97DEC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DEC#FFFFFF#000000##000000
##A97DEC1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F0
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#9C91A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97dec;
/* rgb */ color: rgb(169, 125, 236);
/* oklch */ color: oklch(67.9% 0.163 300.4);
Tailwind
colors: {
  custom: {
    50: '#c5a3f2',
    500: '#a97dec',
    950: '#000000',
  },
}
SCSS
$custom: #a97dec;
$custom-light: #c5a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a97dec",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 263.784,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67925,
    "c": 0.16289,
    "h": 300.4
  },
  "luminance": 0.29158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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