#A997FA#A997FA

#A997FA is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.2% C 0.141 H 290.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#A997FA
RGBrgb(169, 151, 250)
HSLhsl(251, 91%, 79%)
HSVhsv(251, 40%, 98%)
CMYKcmyk(32.4%, 39.6%, 0%, 2%)
CIE-LABlab(67.63, 28.31, -47.13)
CIE-LCHlch(67.63, 54.97, 300.99°)
OKLaboklab(73.21% 0.0503 -0.1321)
OKLCHoklch(73.21% 0.141 290.8)
XYZxyz(44.6796, 37.4694, 95.3022)
Luminance0.3747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A997FA #E8FA97
analogous
#97B6FA #A997FA #DA97FA
triadic
#A997FA #FAA997 #97FAA9
tetradic
#A997FA #FA97B6 #E8FA97 #97FADA
square
#A997FA #FA97B6 #E8FA97 #97FADA
split-complementary
#A997FA #FADA97 #B6FA97
monochromatic
#4822F4 #795DF7 #A997FA #D9D1FD #E7E2FE

Accessibility & contrast

On white

2.47
#A997FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#A997FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A997FA
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A997FA#FFFFFF#000000##000000
##A997FA1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FE
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#96A9BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a997fa;
/* rgb */ color: rgb(169, 151, 250);
/* oklch */ color: oklch(73.2% 0.141 290.8);
Tailwind
colors: {
  custom: {
    50: '#c5b5fc',
    500: '#a997fa',
    950: '#000000',
  },
}
SCSS
$custom: #a997fa;
$custom-light: #c5b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a997fa",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 250.909,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73208,
    "c": 0.1413,
    "h": 290.8
  },
  "luminance": 0.3747
}

Semantic roles & 50–950 ramp

primary
#A997FA
secondary
#F0F6D5
accent
#E600BC
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A997FA

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

Preview Lab → · Contrast checker → · Palette generator →

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