#A97DF2#A97DF2

#A97DF2 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.3% C 0.170 H 299.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A97DF2
RGBrgb(169, 125, 242)
HSLhsl(263, 82%, 72%)
HSVhsv(263, 48%, 95%)
CMYKcmyk(30.2%, 48.3%, 0%, 5.1%)
CIE-LABlab(61.23, 40.92, -52.85)
CIE-LCHlch(61.23, 66.84, 307.75°)
OKLaboklab(68.26% 0.0831 -0.1487)
OKLCHoklch(68.26% 0.17 299.2)
XYZxyz(39.7190, 29.5127, 87.5912)
Luminance0.2951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DF2 #C6F27D
analogous
#7D8CF2 #A97DF2 #E37DF2
triadic
#A97DF2 #F2A97D #7DF2A9
tetradic
#A97DF2 #F27D8C #C6F27D #7DF2E3
square
#A97DF2 #F27D8C #C6F27D #7DF2E3
split-complementary
#A97DF2 #F2E37D #8CF27D
monochromatic
#6116DE #8445EC #A97DF2 #CEB5F8 #EDE3FC

Accessibility & contrast

On white

3.04
#A97DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#A97DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97DF2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DF2#FFFFFF#000000##000000
##A97DF21.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#6193EF
Tritanopia (blue-blind)
#9A93AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97df2;
/* rgb */ color: rgb(169, 125, 242);
/* oklch */ color: oklch(68.3% 0.170 299.2);
Tailwind
colors: {
  custom: {
    50: '#c5a3f7',
    500: '#a97df2',
    950: '#000000',
  },
}
SCSS
$custom: #a97df2;
$custom-light: #c5a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a97df2",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 262.564,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68258,
    "c": 0.17038,
    "h": 299.2
  },
  "luminance": 0.29513
}

Semantic roles & 50–950 ramp

primary
#A97DF2
secondary
#E9F4D7
accent
#DE078D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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