#A97DF6#A97DF6

#A97DF6 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.175 H 298.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A97DF6
RGBrgb(169, 125, 246)
HSLhsl(262, 87%, 73%)
HSVhsv(262, 49%, 96%)
CMYKcmyk(31.3%, 49.2%, 0%, 3.5%)
CIE-LABlab(61.44, 41.91, -54.72)
CIE-LCHlch(61.44, 68.92, 307.44°)
OKLaboklab(68.48% 0.0835 -0.1542)
OKLCHoklch(68.48% 0.175 298.4)
XYZxyz(40.3263, 29.7557, 90.7898)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DF6 #CAF67D
analogous
#7D8EF6 #A97DF6 #E57DF6
triadic
#A97DF6 #F6A97D #7DF6A9
tetradic
#A97DF6 #F67D8E #CAF67D #7DF6E5
square
#A97DF6 #F67D8E #CAF67D #7DF6E5
split-complementary
#A97DF6 #F6E57D #8EF67D
monochromatic
#5F10E9 #8344F2 #A97DF6 #CFB6FA #ECE2FD

Accessibility & contrast

On white

3.02
#A97DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#A97DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97DF6
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DF6#FFFFFF#000000##000000
##A97DF61.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5394FA
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#9994AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97df6;
/* rgb */ color: rgb(169, 125, 246);
/* oklch */ color: oklch(68.5% 0.175 298.4);
Tailwind
colors: {
  custom: {
    50: '#c6a3fa',
    500: '#a97df6',
    950: '#000000',
  },
}
SCSS
$custom: #a97df6;
$custom-light: #c6a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a97df6",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 261.818,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68484,
    "c": 0.17536,
    "h": 298.4
  },
  "luminance": 0.29756
}

Semantic roles & 50–950 ramp

primary
#A97DF6
secondary
#EAF5D6
accent
#E40292
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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