#A997FD#A997FD

#A997FD is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.4% C 0.145 H 290.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#A997FD
RGBrgb(169, 151, 253)
HSLhsl(251, 96%, 79%)
HSVhsv(251, 40%, 99%)
CMYKcmyk(33.2%, 40.3%, 0%, 0.8%)
CIE-LABlab(67.77, 29.07, -48.54)
CIE-LCHlch(67.77, 56.58, 300.92°)
OKLaboklab(73.36% 0.0508 -0.1362)
OKLCHoklch(73.36% 0.145 290.5)
XYZxyz(45.1538, 37.6590, 97.7994)
Luminance0.3766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A997FD #EBFD97
analogous
#97B8FD #A997FD #DC97FD
triadic
#A997FD #FDA997 #97FDA9
tetradic
#A997FD #FD97B8 #EBFD97 #97FDDC
square
#A997FD #FD97B8 #EBFD97 #97FDDC
split-complementary
#A997FD #FDDC97 #B8FD97
monochromatic
#461FFB #775BFC #A997FD #DBD3FE #E6E1FE

Accessibility & contrast

On white

2.46
#A997FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#A997FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A997FD
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A997FD#FFFFFF#000000##000000
##A997FD1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#78A3FA
Tritanopia (blue-blind)
#95AABE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a997fd;
/* rgb */ color: rgb(169, 151, 253);
/* oklch */ color: oklch(73.4% 0.145 290.5);
Tailwind
colors: {
  custom: {
    50: '#c5b5fe',
    500: '#a997fd',
    950: '#000000',
  },
}
SCSS
$custom: #a997fd;
$custom-light: #c5b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a997fd",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 250.588,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73361,
    "c": 0.14532,
    "h": 290.5
  },
  "luminance": 0.3766
}

Semantic roles & 50–950 ramp

primary
#A997FD
secondary
#F1F7D4
accent
#E600BD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A997FD

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

Preview Lab → · Contrast checker → · Palette generator →

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