#A97DE2#A97DE2

#A97DE2 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.4% C 0.150 H 302.7°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A97DE2
RGBrgb(169, 125, 226)
HSLhsl(266, 64%, 69%)
HSVhsv(266, 45%, 89%)
CMYKcmyk(25.2%, 44.7%, 0%, 11.4%)
CIE-LABlab(60.42, 37.06, -45.25)
CIE-LCHlch(60.42, 58.49, 309.32°)
OKLaboklab(67.39% 0.0812 -0.1266)
OKLCHoklch(67.39% 0.15 302.7)
XYZxyz(37.4203, 28.5932, 75.4844)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DE2 #B6E27D
analogous
#7D84E2 #A97DE2 #DC7DE2
triadic
#A97DE2 #E2A97D #7DE2A9
tetradic
#A97DE2 #E27D84 #B6E27D #7DE2DC
square
#A97DE2 #E27D84 #B6E27D #7DE2DC
split-complementary
#A97DE2 #E2DC7D #84E27D
monochromatic
#692ABB #884BD7 #A97DE2 #CAAFED #EBE1F8

Accessibility & contrast

On white

3.13
#A97DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A97DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97DE2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DE2#FFFFFF#000000##000000
##A97DE21.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6191E6
Deuteranopia (green-blind)
#6C91DF
Tritanopia (blue-blind)
#9F8EA5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a97de2;
/* rgb */ color: rgb(169, 125, 226);
/* oklch */ color: oklch(67.4% 0.150 302.7);
Tailwind
colors: {
  custom: {
    50: '#c5a3eb',
    500: '#a97de2',
    950: '#000000',
  },
}
SCSS
$custom: #a97de2;
$custom-light: #c5a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a97de2",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 266.139,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67387,
    "c": 0.15035,
    "h": 302.7
  },
  "luminance": 0.28593
}

Semantic roles & 50–950 ramp

primary
#A97DE2
secondary
#DFECCE
accent
#CB1A7E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A97DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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