#A97DF1#A97DF1

#A97DF1 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.2% C 0.169 H 299.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A97DF1
RGBrgb(169, 125, 241)
HSLhsl(263, 81%, 72%)
HSVhsv(263, 48%, 95%)
CMYKcmyk(29.9%, 48.1%, 0%, 5.5%)
CIE-LABlab(61.18, 40.68, -52.38)
CIE-LCHlch(61.18, 66.32, 307.83°)
OKLaboklab(68.2% 0.083 -0.1473)
OKLCHoklch(68.2% 0.169 299.4)
XYZxyz(39.5692, 29.4528, 86.8023)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DF1 #C5F17D
analogous
#7D8BF1 #A97DF1 #E37DF1
triadic
#A97DF1 #F1A97D #7DF1A9
tetradic
#A97DF1 #F17D8B #C5F17D #7DF1E3
square
#A97DF1 #F17D8B #C5F17D #7DF1E3
split-complementary
#A97DF1 #F1E37D #8BF17D
monochromatic
#6218DC #8446EB #A97DF1 #CEB4F7 #EDE3FC

Accessibility & contrast

On white

3.05
#A97DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#A97DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97DF1
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DF1#FFFFFF#000000##000000
##A97DF11.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F5
Deuteranopia (green-blind)
#6293EE
Tritanopia (blue-blind)
#9A93AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97df1;
/* rgb */ color: rgb(169, 125, 241);
/* oklch */ color: oklch(68.2% 0.169 299.4);
Tailwind
colors: {
  custom: {
    50: '#c5a3f6',
    500: '#a97df1',
    950: '#000000',
  },
}
SCSS
$custom: #a97df1;
$custom-light: #c5a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a97df1",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 262.759,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68202,
    "c": 0.16913,
    "h": 299.4
  },
  "luminance": 0.29453
}

Semantic roles & 50–950 ramp

primary
#A97DF1
secondary
#E8F4D6
accent
#DD098C
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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