#A97DFA#A97DFA

#A97DFA is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.7% C 0.180 H 297.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A97DFA
RGBrgb(169, 125, 250)
HSLhsl(261, 93%, 74%)
HSVhsv(261, 50%, 98%)
CMYKcmyk(32.4%, 50%, 0%, 2%)
CIE-LABlab(61.66, 42.90, -56.58)
CIE-LCHlch(61.66, 71.01, 307.17°)
OKLaboklab(68.71% 0.0839 -0.1596)
OKLCHoklch(68.71% 0.18 297.7)
XYZxyz(40.9469, 30.0039, 94.0580)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DFA #CEFA7D
analogous
#7D8FFA #A97DFA #E77DFA
triadic
#A97DFA #FAA97D #7DFAA9
tetradic
#A97DFA #FA7D8F #CEFA7D #7DFAE7
square
#A97DFA #FA7D8F #CEFA7D #7DFAE7
split-complementary
#A97DFA #FAE77D #8FFA7D
monochromatic
#5C09F3 #8242F8 #A97DFA #D0B8FC #ECE2FE

Accessibility & contrast

On white

3.00
#A97DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#A97DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97DFA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DFA#FFFFFF#000000##000000
##A97DFA1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FE
Deuteranopia (green-blind)
#5B94F7
Tritanopia (blue-blind)
#9795B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97dfa;
/* rgb */ color: rgb(169, 125, 250);
/* oklch */ color: oklch(68.7% 0.180 297.7);
Tailwind
colors: {
  custom: {
    50: '#c6a3fc',
    500: '#a97dfa',
    950: '#000000',
  },
}
SCSS
$custom: #a97dfa;
$custom-light: #c6a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a97dfa",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 261.12,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68714,
    "c": 0.18033,
    "h": 297.7
  },
  "luminance": 0.30004
}

Semantic roles & 50–950 ramp

primary
#A97DFA
secondary
#EAF6D5
accent
#E60095
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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