#A997F5#A997F5

#A997F5 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.0% C 0.135 H 291.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#A997F5
RGBrgb(169, 151, 245)
HSLhsl(251, 82%, 78%)
HSVhsv(251, 38%, 96%)
CMYKcmyk(31%, 38.4%, 0%, 3.9%)
CIE-LABlab(67.40, 27.04, -44.76)
CIE-LCHlch(67.40, 52.30, 301.14°)
OKLaboklab(72.96% 0.0493 -0.1252)
OKLCHoklch(72.96% 0.135 291.5)
XYZxyz(43.9060, 37.1599, 91.2278)
Luminance0.3716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A997F5 #E3F597
analogous
#97B4F5 #A997F5 #D897F5
triadic
#A997F5 #F5A997 #97F5A9
tetradic
#A997F5 #F597B4 #E3F597 #97F5D8
square
#A997F5 #F597B4 #E3F597 #97F5D8
split-complementary
#A997F5 #F5D897 #B4F597
monochromatic
#4D27EA #7B5FF0 #A997F5 #D7CFFA #E8E3FC

Accessibility & contrast

On white

2.49
#A997F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#A997F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A997F5
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A997F5#FFFFFF#000000##000000
##A997F51.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA6F9
Deuteranopia (green-blind)
#7DA2F3
Tritanopia (blue-blind)
#97A8BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a997f5;
/* rgb */ color: rgb(169, 151, 245);
/* oklch */ color: oklch(73.0% 0.135 291.5);
Tailwind
colors: {
  custom: {
    50: '#c5b5f9',
    500: '#a997f5',
    950: '#000000',
  },
}
SCSS
$custom: #a997f5;
$custom-light: #c5b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a997f5",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 245
  },
  "hsl": {
    "h": 251.489,
    "s": 82.456,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72956,
    "c": 0.13454,
    "h": 291.5
  },
  "luminance": 0.37161
}

Semantic roles & 50–950 ramp

primary
#A997F5
secondary
#EFF4D7
accent
#DF07B5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A997F5

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

Preview Lab → · Contrast checker → · Palette generator →

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