#A997EB#A997EB

#A997EB is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.5% C 0.121 H 293.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A997EB
RGBrgb(169, 151, 235)
HSLhsl(253, 68%, 76%)
HSVhsv(253, 36%, 92%)
CMYKcmyk(28.1%, 35.7%, 0%, 7.8%)
CIE-LABlab(66.95, 24.56, -39.98)
CIE-LCHlch(66.95, 46.92, 301.57°)
OKLaboklab(72.47% 0.0472 -0.1113)
OKLCHoklch(72.47% 0.121 293)
XYZxyz(42.4205, 36.5657, 83.4041)
Luminance0.3657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A997EB #D9EB97
analogous
#97AFEB #A997EB #D397EB
triadic
#A997EB #EBA997 #97EBA9
tetradic
#A997EB #EB97AF #D9EB97 #97EBD3
square
#A997EB #EB97AF #D9EB97 #97EBD3
split-complementary
#A997EB #EBD397 #AFEB97
monochromatic
#5430D7 #7F64E1 #A997EB #D3CAF5 #EAE5FA

Accessibility & contrast

On white

2.53
#A997EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A997EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A997EB
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A997EB#FFFFFF#000000##000000
##A997EB1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EE
Deuteranopia (green-blind)
#82A1E9
Tritanopia (blue-blind)
#9BA6B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a997eb;
/* rgb */ color: rgb(169, 151, 235);
/* oklch */ color: oklch(72.5% 0.121 293.0);
Tailwind
colors: {
  custom: {
    50: '#c4b5f1',
    500: '#a997eb',
    950: '#000000',
  },
}
SCSS
$custom: #a997eb;
$custom-light: #c4b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a997eb",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 252.857,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72469,
    "c": 0.12094,
    "h": 293
  },
  "luminance": 0.36566
}

Semantic roles & 50–950 ramp

primary
#A997EB
secondary
#ECF2D9
accent
#D016A8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A997EB

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

Preview Lab → · Contrast checker → · Palette generator →

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