#A997F7#A997F7

#A997F7 is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.1% C 0.137 H 291.2°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#A997F7
RGBrgb(169, 151, 247)
HSLhsl(251, 86%, 78%)
HSVhsv(251, 39%, 97%)
CMYKcmyk(31.6%, 38.9%, 0%, 3.1%)
CIE-LABlab(67.49, 27.55, -45.71)
CIE-LCHlch(67.49, 53.37, 301.08°)
OKLaboklab(73.06% 0.0497 -0.1279)
OKLCHoklch(73.06% 0.137 291.2)
XYZxyz(44.2130, 37.2827, 92.8445)
Luminance0.3728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A997F7 #E5F797
analogous
#97B5F7 #A997F7 #D997F7
triadic
#A997F7 #F7A997 #97F7A9
tetradic
#A997F7 #F797B5 #E5F797 #97F7D9
square
#A997F7 #F797B5 #E5F797 #97F7D9
split-complementary
#A997F7 #F7D997 #B5F797
monochromatic
#4B25EE #7A5EF3 #A997F7 #D8D0FB #E8E3FD

Accessibility & contrast

On white

2.48
#A997F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#A997F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A997F7
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A997F7#FFFFFF#000000##000000
##A997F71.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FB
Deuteranopia (green-blind)
#7CA2F5
Tritanopia (blue-blind)
#97A9BB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a997f7;
/* rgb */ color: rgb(169, 151, 247);
/* oklch */ color: oklch(73.1% 0.137 291.2);
Tailwind
colors: {
  custom: {
    50: '#c5b5fa',
    500: '#a997f7',
    950: '#000000',
  },
}
SCSS
$custom: #a997f7;
$custom-light: #c5b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a997f7",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 251.25,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73056,
    "c": 0.13725,
    "h": 291.2
  },
  "luminance": 0.37284
}

Semantic roles & 50–950 ramp

primary
#A997F7
secondary
#EFF5D6
accent
#E203B8
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A997F7

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

Preview Lab → · Contrast checker → · Palette generator →

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