#A97FD2#A97FD2

#A97FD2 is a light, vivid violet. Relative luminance 0.283; OKLCH L 66.9% C 0.127 H 306.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A97FD2
RGBrgb(169, 127, 210)
HSLhsl(270, 48%, 66%)
HSVhsv(270, 40%, 82%)
CMYKcmyk(19.5%, 39.5%, 0%, 17.6%)
CIE-LABlab(60.13, 32.21, -36.75)
CIE-LCHlch(60.13, 48.87, 311.24°)
OKLaboklab(66.92% 0.0756 -0.102)
OKLCHoklch(66.92% 0.127 306.5)
XYZxyz(35.5821, 28.2672, 64.5419)
Luminance0.2827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FD2 #A8D27F
analogous
#7F7FD2 #A97FD2 #D27FD2
triadic
#A97FD2 #D2A97F #7FD2A9
tetradic
#A97FD2 #D27F7F #A8D27F #7FD2D2
square
#A97FD2 #D27F7F #A8D27F #7FD2D2
split-complementary
#A97FD2 #D2D27F #7FD27F
monochromatic
#6C389F #8B52C2 #A97FD2 #C7ACE2 #E6DAF2

Accessibility & contrast

On white

3.16
#A97FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A97FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97FD2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FD2#FFFFFF#000000##000000
##A97FD21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8FD5
Deuteranopia (green-blind)
#7691D0
Tritanopia (blue-blind)
#A38C9F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a97fd2;
/* rgb */ color: rgb(169, 127, 210);
/* oklch */ color: oklch(66.9% 0.127 306.5);
Tailwind
colors: {
  custom: {
    50: '#c4a4e0',
    500: '#a97fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a97fd2;
$custom-light: #c4a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a97fd2",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 270.361,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66923,
    "c": 0.12692,
    "h": 306.5
  },
  "luminance": 0.28267
}

Semantic roles & 50–950 ramp

primary
#A97FD2
secondary
#D6E4C9
accent
#BB2A72
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A97FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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