#A997D2#A997D2

#A997D2 is a light, moderate violet. Relative luminance 0.352; OKLCH L 71.3% C 0.087 H 298.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#A997D2
RGBrgb(169, 151, 210)
HSLhsl(258, 40%, 71%)
HSVhsv(258, 28%, 82%)
CMYKcmyk(19.5%, 28.1%, 0%, 17.6%)
CIE-LABlab(65.92, 18.63, -27.76)
CIE-LCHlch(65.92, 33.43, 303.86°)
OKLaboklab(71.34% 0.0409 -0.0764)
OKLCHoklch(71.34% 0.087 298.2)
XYZxyz(39.0591, 35.2212, 65.7009)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A997D2 #C0D297
analogous
#97A2D2 #A997D2 #C697D2
triadic
#A997D2 #D2A997 #97D2A9
tetradic
#A997D2 #D297A2 #C0D297 #97D2C6
square
#A997D2 #D297A2 #C0D297 #97D2C6
split-complementary
#A997D2 #D2C697 #A2D297
monochromatic
#6548A7 #866CC0 #A997D2 #CCC2E4 #EDEAF6

Accessibility & contrast

On white

2.61
#A997D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#A997D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A997D2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A997D2#FFFFFF#000000##000000
##A997D21.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA0D4
Deuteranopia (green-blind)
#8DA0D0
Tritanopia (blue-blind)
#A2A0AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a997d2;
/* rgb */ color: rgb(169, 151, 210);
/* oklch */ color: oklch(71.3% 0.087 298.2);
Tailwind
colors: {
  custom: {
    50: '#c3b5e0',
    500: '#a997d2',
    950: '#000000',
  },
}
SCSS
$custom: #a997d2;
$custom-light: #c3b5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a997d2",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 258.305,
    "s": 39.597,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71341,
    "c": 0.08662,
    "h": 298.2
  },
  "luminance": 0.35221
}

Semantic roles & 50–950 ramp

primary
#A997D2
secondary
#E5EADA
accent
#B3338C
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #A997D2

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

Preview Lab → · Contrast checker → · Palette generator →

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